日期:2014-05-16  浏览次数:20864 次

JSON 遇到java.lang.ClassNotFoundException: org.apache.commons.lang.xwork.StringUti

java.lang.ClassNotFoundException: org.apache.commons.lang.xwork.StringUtils


今天在Struts2框架下使用JSON插件时,程序保存找不到类org/apache/commons/lang/xwork/StringUtils,我很奇怪,commons-lang包明明导入了,却又发现commons-lang包中根本没有xwork子包,几经周折终于找到了原因:我没有导入xwork-core这个jar包。呵呵,问题解决了。

?

http://blog.csdn.net/anthony_zwh/article/details/6216248

?

1 楼 ShorenG 2012-04-25  
导入后问题依旧