Maven : error in opening zip file when running maven

Probably, contents of the JAR files in your local .m2 repository are HTML saying “301 Moved Permanently”. It seems that mvn does not handle “301 Moved Permanently” properly as expected. In such a case, download the JAR files manually from somewhere (the central repository, for example) and put them into your .m2 repository.

See also:

asm-3.1.jar; error in opening zip file
http://darutk-oboegaki.blogspot.jp/2012/07/asm-31jar-error-in-opening-zip-file.html

Leave a Comment