日期:2014-05-16  浏览次数:21149 次

Tomcat7.0启动:报错java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

?

下载Tomcat7.0后,和MyEclipse进行整合,MyEclipse配置Tomcat7.0如下图

clip_image002

发现在启动的时候报了一个错误

java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

????at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:55)

Caused by:?java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory

????at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

????at java.security.AccessController.doPrivileged(Native Method)

????at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

????at java.lang.ClassLoader.loadClass(ClassLoader.java:307)