Java.lang.ClassNotFoundException:org.apache.catalina.loader.DevLoader

Source: Internet
Author: User

Eclipse Tomcat Error:org.apache.catalina.loader.DevLoader

Java.lang.ClassNotFoundException:org.apache.catalina.loader.DevLoader

This error is due to the fact that the Tomcat attribute is configured as active Devloader in the Eclipse project.



and the Tomcat folder

\tomcat \conf\catalina\localhost XX.XM, there are

<context path= "/permission" reloadable= "true" docbase= "F:\workspace-permission\permission\src\main\webapp" Workdir= "F:\workspace-permission\permission\work" >
<loader classname= "Org.apache.catalina.loader.DevLoader" reloadable= "true" debug= "1" Usesystemclassloaderasparent= "false"/>
</Context>

This requires adding the DevLoader package to the \tomcat \lib package under the Tomcat folder.

The detailed additions are:

In Eclipse, the Tomcat plugin folder finds the corresponding jar package.

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvb3njyxj3yw5n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">


then copy the corresponding jar package to tomcat \lib, restart on OK. Be aware of the Servlet-api.jar packet conflicts under Tomcat and the introduction of Lib below.



The following methods found on the Internet do not know whether it is feasible:

1. Under the Eclipse folder. Locate the DevLoader package, located at

\ECLIPSE\ECLIPSE\PLUGINS\COM.SYSDEO.ECLIPSE.TOMCAT_3.2.0.BETA3 's Devloader.zip

2, copy Devloader.zip to Tomcat \lib.

3. Unzip the Devloader.zip in the current directory. Then the \devloader under the Org directory copy all to \tomcat 5.5\lib\classes under.

4, so you can.

The Devloader.zip DevLoader directory under Tomcat\lib is now removed.

Re-start Tomcat on OK.

Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Java.lang.ClassNotFoundException:org.apache.catalina.loader.DevLoader

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.