net.sf.json.JSONObject需要jar包

net.sf.json.JSONObject

 

java.lang.ClassNotFoundException:org.apache.commons.lang.exception.NestableRuntimeException

上网上搜了一下才知道原来在使用JSON的使用的时候,不光要导入JSON这个包,同时还要导入另外三个包

总之,共需要下面的 jars,json-lib方可使用:
commons-beanutils-1.7.0.jar
commons-lang-2.1.jar
ezmorph-1.0.2.jar
json-lib-1.1-jdk15.jar

你可能感兴趣的:(net.sf.json.JSONObject需要jar包)