tomcat启动出错 invalid LOC header
tomcat启动出错 invalid LOC header,run as maven test 没有报错,只有警告:
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-p
修改POM.xml,增加maven-compiler-plugin插件版本信息,如下
<plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> </plugins>
然后再次 run as maven test,报错:
[ERROR] Failure executing javac, but could not parse the error: 错误: 读取D:\mvnpack\org\apache\tomcat\tomcat-servlet-api\7.0.64\tomcat-servlet-api-7.0.64.jar时出错; invalid LOC header (bad signature)
jar包没有下载完,需要重新下载jar包。