eclipse中啓動服務器正常,地址欄輸入訪問地址出現500,java.lang.ClassNotFoundException: org.apache.commons.lang.exception.NestableRuntimeException
遇到這種問題是因爲jar包不全,應該包含commons-beanutils-1.8.3.jar
commons-lang-2.5.jar
ezmorph-1.0.6.jar
json-lib-2.3-jdk15.jar
但是又出現如下問題:
java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
導入commons-logging-1.1.1.jar
java.lang.NoClassDefFoundError: Could not initialize class net.sf.json.JSONArray
導入commons-collections 3.2