当我使用最新的tcsever 2.9.2时,我收到此错误。
ERROR | wrapper | 2014/01/21 19:06:47 | JVM exited while loading the application.
INFO | jvm 4 | 2014/01/21 19:06:47 | Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
INFO | jvm 4 | 2014/01/21 19:06:47 | at org.apache.catalina.startup.BootstrapWrapper.(BootstrapWrapper.java:60)
INFO | jvm 4 | 2014/01/21 19:06:47 | Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
INFO | jvm 4 | 2014/01/21 19:06:47 | at java.net.URLClassLoader$1.run(Unknown Source)
INFO | jvm 4 | 2014/01/21 19:06:47 | at java.net.URLClassLoader$1.run(Unknown Source)
INFO | jvm 4 | 2014/01/21 19:06:47 | at java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 4 | 2014/01/21 19:06:47 | at java.net.URLClassLoader.findClass(Unknown Source)
INFO | jvm 4 | 2014/01/21 19:06:47 | at java.lang.ClassLoader.loadClass(Unknown Source)
INFO | jvm 4 | 2014/01/21 19:06:47 | at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
INFO | jvm 4 | 2014/01/21 19:06:47 | at java.lang.ClassLoader.loadClass(Unknown Source)
INFO | jvm 4 | 2014/01/21 19:06:47 | ... 1 more
STATUS | wrapper | 2014/01/21 19:06:52 | Launching a JVM...
请指出我想解决这个问题的地方。
Tanuski包装器主类(bootstrapwrapper导致此问题)
谢谢
答案 0 :(得分:0)
打开你的服务器配置,并将tomcat-juli.jar添加到类路径中,它应该可以工作。