maven: error in opening zip file 본문

Programming

maven: error in opening zip file

halatha 2011. 12. 1. 06:13
Problem: seeing the message 'error: error reading .../.../...jar; error in opening zip file, it's usually jar file is bad.

Solution: installing the right jar file (http://ondra.zizka.cz/stranky/programovani/java/maven/log4j-missing-jmx-sun-deps.texy)

mvn install:install-file -Dfile=[downloaded jar file full path] -DgroupId=[group id] -DartifactId=[artifact id] -Dversion=[version] -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -Dfile=/home/hchung/downloads/jtds-1.2.4.jar -DgroupId=net.sourceforge.jtds -DartifactId=jtds -Dversion=1.2.4 -Dpackaging=jar -DgeneratePom=true
Comments