Solutions to Java.lang.ClassNotFoundException:org.apache.juli.logging.LogFactory

Source: Internet
Author: User

TOMCAT7 early out of the official version, but has not been used, especially for I have been in the use of Myeclipse6.5, it in the configuration of Tomcat when there is no tomcat7 option, so it reported the error message.

[Java]View Plaincopy
  1. Java.lang.noclassdeffounderror:org/apache/juli/logging/logfactory
  2. At Org.apache.catalina.startup.bootstrap.<clinit> (Bootstrap.java:)
  3. caused by:java.lang.ClassNotFoundException:org.apache.juli.logging.LogFactory
  4. At java.net.urlclassloader$1.run (URLClassLoader.java:202)
  5. At java.security.AccessController.doPrivileged (Native Method)
  6. At Java.net.URLClassLoader.findClass (URLClassLoader.java:)
  7. At Java.lang.ClassLoader.loadClass (Classloader.java:307)
  8. At Sun.misc.launcher$appclassloader.loadclass (Launcher.java:301)
  9. At Java.lang.ClassLoader.loadClass (Classloader.java:248)
  10. ... 1 More
  11. Exception in thread "main"

On the Internet to find the next reason, only to find in the call need to join Tomcat-juli.jar This package, TOMCAT7 this package is located under the Tomcat root directory of the bin. The procedure is: preference--tomcat--tomtca6.x--path the first option to include this package. Or, import the jar package from build path.

Restart Tomcat,ok

From: http://blog.csdn.net/yixiaoping/article/details/9988635

Solutions to Java.lang.ClassNotFoundException:org.apache.juli.logging.LogFactory

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.