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
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.