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