I'm starting the tomcat7.0.6 in MyEclipse today when I start the error:
Java.lang.noclassdeffounderror:org/apache/juli/logging/logfactory
At Org.apache.catalina.startup.bootstrap.<clinit> (bootstrap.java:56)
caused by:java.lang.ClassNotFoundException:org.apache.juli.logging.LogFactory
At Java.net.urlclassloader$1.run (urlclassloader.java:200)
At Java.security.AccessController.doPrivileged (Native method)
At Java.net.URLClassLoader.findClass (urlclassloader.java:188)
At Java.lang.ClassLoader.loadClass (classloader.java:307)
At Sun.misc.launcher$appclassloader.loadclass (launcher.java:301)
At Java.lang.ClassLoader.loadClass (classloader.java:252)
At Java.lang.ClassLoader.loadClassInternal (classloader.java:320)
... 1 more
Exception in thread "main"
Make me depressed very much, I used to use tomcat6.0 in myeclipse7.0 did not report this mistake. By searching on the web,
Workaround:
First, open Myeclipse,preferentces->myeclipse->servers->tomcat->tomcat 6.x
, load into TOMCAT7, under "Paths", click "Add jar/zip", load tomcat7 .../bin/tomcat-juli.jar. Click "OK".
Summarize:
If tomcat6.0 does not add Tomcat-juli.jar path,tomcat7.0.6, 7.0.11 then set path like the above method.