今天使用json时只导入了json-lib-2.2.1,访问是报错:java.lang.ClassNotFoundException:org.apache.commons.lang.exception.NestableRuntimeException;
经查找需导入:
commons-beanutils-1.7.0.jar
commons-lang-2.1.jar
ezmorph-1.0.2.jar
再次测试发现报:java.lang.ClassNotFoundException: org.apache.commons.collections.map.ListOrderedMap
再次查找发现还需导入:
commons-collections-3.2.jar
commons-logging-1.0.4.jar