NoClassDefFoundError是什么错误?应该怎样解决
exceptionjavax.servlet.ServletException:Errorinstantiatingservletclasscom.src11.ibait...
exception
javax.servlet.ServletException: Error instantiating servlet class com.src11.ibaitiseg.service.PersonController
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:619)
root cause
java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources
com.src11.ibaitiseg.dao.ibaitis.DaoConfig.newDaoManager(DaoConfig.java:37)
com.src11.ibaitiseg.dao.ibaitis.DaoConfig.<clinit>(DaoConfig.java:25)
com.src11.ibaitiseg.dao.ibaitis.DaoFactory.createAccountDao(DaoFactory.java:18)
com.src11.ibaitiseg.business.AccountDB.<init>(AccountDB.java:18)
com.src11.ibaitiseg.service.PersonController.<init>(PersonController.java:25)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
java.lang.Class.newInstance0(Class.java:355)
java.lang.Class.newInstance(Class.java:308)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:619) 展开
javax.servlet.ServletException: Error instantiating servlet class com.src11.ibaitiseg.service.PersonController
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:619)
root cause
java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources
com.src11.ibaitiseg.dao.ibaitis.DaoConfig.newDaoManager(DaoConfig.java:37)
com.src11.ibaitiseg.dao.ibaitis.DaoConfig.<clinit>(DaoConfig.java:25)
com.src11.ibaitiseg.dao.ibaitis.DaoFactory.createAccountDao(DaoFactory.java:18)
com.src11.ibaitiseg.business.AccountDB.<init>(AccountDB.java:18)
com.src11.ibaitiseg.service.PersonController.<init>(PersonController.java:25)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
java.lang.Class.newInstance0(Class.java:355)
java.lang.Class.newInstance(Class.java:308)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:619) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询