我有一个spring-hibernate web应用程序在tomcat服务器版本7.0.25和jdk 1.6.0_25上运行
我不知道为什么,但即使我没有更改我的代码或服务器配置的任何内容,今天早上我也开始出现以下异常。
如果你能分享你的想法和解决方案,我会很棒。提前致谢。
java.lang.NoClassDefFoundError: org/apache/juli/logging/UserDataHelper
...
2012-09-20 15:02:01,344 [http-bio-8080-exec-8] ERROR org.apache.coyote.http11.Http11Protocol-
java.lang.NoClassDefFoundError: Could not initialize class org.apache.tomcat.util.http.Cookies
at org.apache.coyote.Request.<init>(Request.java:131)
at org.apache.coyote.AbstractProcessor.<init>(AbstractProcessor.java:44)
at org.apache.coyote.http11.AbstractHttp11Processor.<init>(AbstractHttp11Processor.java:257)
at org.apache.coyote.http11.Http11Processor.<init>(Http11Processor.java:55)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.createProcessor(Http11Protocol.java:161)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.createProcessor(Http11Protocol.java:99)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:549)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Exception in thread "http-bio-8080-exec-8" java.lang.NullPointerException
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.release(Http11Protocol.java:136)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.release(Http11Protocol.java:99)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:638)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)