标签:
在tomcat 7.0.59版本下,java打得war包依赖了service api的包,然后tomcat启动报了下面的错,导致应用启动失败,访问不了。
Mar 20, 2015 11:29:09 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/home/ubuntu/apache-tomcat-7.0.59/webapps/jiagoushi/WEB-INF/lib/servlet-api-3.0-alpha-1.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
<dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>3.0-alpha-1</version> </dependency>
java web应用在tomcat下servlet api包冲突问题
标签:
原文地址:http://blog.csdn.net/zhongweijian/article/details/44501331