dew 发表于 2017-1-12 10:15:57

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]
查看完整版本: JSON 遇到java.lang.ClassNotFoundException: org.apache.commons.lang.xwork.StringUti