开发者

Tomcat - Error deploying web app

I am getting the following error. I assume there is some sort of dependency issue but can't find it.

Here is the error

Aug 31, 2011 9:43:00 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ui-ser开发者_如何学Pythonvices-1.0\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

Aug 31, 2011 9:43:08 PM org.apache.catalina.startup.HostConfig deployWAR
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60

SEVERE: Error deploying web application archive ui-services-1.0.war

at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131)


You have packaged the servlet API into your WAR file (servlet-api-2.5.jar). Remove WEB-INF/lib/servlet-api-2.5.jar from the WAR file you're creating and the problem should go away.

You can't load any of the core J(2)EE classes from within your web application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜