To start the tomcat7.0.6 error java.lang.noclassdeffounderror:org/apache/juli/logging/logfactory solution in myeclilpse7.5

Source: Internet
Author: User
Tags tomcat

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.