I'm working on a project in the maven framework and have added a dependency on zookeeper. When I try to install: mvn clean install -Dmaven.test.skip=true ... [INFO] Compilation failure error: error reading /home/jao/.m2/repository/javax/jms/jms/1.1/jms-1.1.jar; error in opening zip file error: error reading /home/jao/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar; error in opening zip file error: error reading /home/jao/.m2/repository/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar; error in opening zip file The named jar files contain some HTML (!), e.g. 301 Moved Permanently

Moved Permanently

The document has moved here.


Apache Server at maven-repository.dev.java.net Port 443
Has anyone succeeded in following this advice and getting it to work? I found this maven page: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html, but just getting the jar files from Oracle is a pain. Any advice on how to get zookeeper and maven to coexist would be welcome. Thanks. Jack