Solution to start Tomcat Web-inf\lib\j2ee.jar jar not loaded exception

Source: Internet
Author: User
Tags tomcat
When the project was loaded today, the Tomcat report was suddenly discovered:
2010-7-1 12:11:38 Org.apache.catalina.loader.WebappClassLoader Validatejarfile
Information: Validatejarfile (C:\Program files\apache software foundation\tomcat 6.0\web
Apps\accountant\web-inf\lib\j2ee.jar)-jar not loaded. See Servlet Spec 2.3, SE
Ction 9.7.2. Offending Class:javax/servlet/servlet.class

It says J2ee.jar not loaded, what's going on.
The reason may be multiple loads.

Solution: The project \web-inf\lib under the J2ee.jar package can be removed, because \tomcat\lib may already contain the J2ee.jar (although I did not find, hehe)
The following figure is the package under \tomcat\lib




Other:
If Tomcat reports the following exception (shutdown immediately after the program starts):
[Hear] Lottery Application Launch >>>
2010-7-1 12:11:47 org.apache.catalina.core.StandardContext Start
Severity: Error filterstart
2010-7-1 12:11:47 org.apache.catalina.core.StandardContext Start
Severity: Context [/lottery] startup failed due to previous errors
[Hear] Lottery Application Destruction >>>

It is possible that the JDK version does not cause
I'm running locally Yes, locally configured as jdk1.5+tomcat5.5
Upload to server not running, server configured as jdk1.6+tomcat6.0

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.