忧郁者 发表于 2017-1-13 10:33:04

java.lang.NoClassDefFoundError:org/apache/commons/lang/exception/NestableRuntime

  在做eclipse插件开发的时候,有需要使用到json的处理。然后把以前web开发中用到的json包拿过来使用,发现在web开发时候没问题的代码,在eclipse插件开发时不能用了。、
  出现以下的异常:

java.lang.NoClassDefFoundError:org/apache/commons/lang/exception/NestableRuntimeException


经度娘后,发现是commons lang包出的问题。我使用的是3.3版本的。更换回2.6版本的lang包。问题得到解决。  

  commons-lang-2.6.jar下载
页: [1]
查看完整版本: java.lang.NoClassDefFoundError:org/apache/commons/lang/exception/NestableRuntime