您现在的位置:首页 >> 前端 >> 内容

c:forTokens报错ThemethodsetItems(String)inthetypeForTokensTagisnotapplicablefortheargume解决

时间:2017/12/12 10:19:39 点击:

  核心提示:问题:在本地跑,一切正常。到服务器,立马出错。c:forTokens 就报错 The method setItems(String) in the type ForTokensTag is not a...

问题:在本地跑,一切正常。到服务器,立马出错。

c:forTokens 就报错 The method setItems(String) in the type ForTokensTag is not applicable for the argume

1.jstl.jar 重复

参考:jstl.jar 包 重复

排除 jstl 重复的可能性

2.standard 和jstl 版本搭配

c:forTokens报错ThemethodsetItems(String)inthetypeForTokensTagisnotapplicablefortheargume解决

发现 maven 里的 standard 版本是 1.1.2 ,jstl 却是 1.2 . 修改 jstl 为 1.1.0 。错误解决

Tags:CF FO OR RT 
作者:网络 来源:N_007的博客