Sunday, January 13, 2013

invalid LOC header

I found a new error code while running my app using maven build, see this:
Failed to parse plugin descriptor for \
org.apache.maven.plugins:maven-war-plugin:2.1.1 \
(/home/huahsin68/.m2/repository/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.jar): \
invalid LOC header (bad signature)
What happen?!! A post from stackoverflow.com has safe me on this problem. Simply remove m2 folder and download again the whole jars. How?!! Usually I'll use this mvn command to do the download but this round when I upgrade my Fedora box, all tools are gone!! sigh~ Luckily eclipse solve this problem for me, remember I have this maven Goal set: clean install tomcat:run-war? This will do the download during the build. Cheers~

No comments: