OiO.lk Blog java Maven Build Failure: “Zip END header not found” during Apache Atlas 2.3.0 Installation on Oracle Linux 9.4
java

Maven Build Failure: “Zip END header not found” during Apache Atlas 2.3.0 Installation on Oracle Linux 9.4


I’m trying to install Apache Atlas 2.3.0 on Oracle Linux 9.4 and encountered a build failure during the Maven compilation process. The error appears to be related to the org.restlet dependencies. Here are the key parts of the error log:

[ERROR] error reading /root/.m2/repository/org/restlet/jee/org.restlet/2.4.3/org.restlet-2.4.3.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/restlet/jee/org.restlet.ext.servlet/2.4.3/org.restlet.ext.servlet-2.4.3.jar; zip END header not found
[ERROR] /root/apache-atlas-sources-2.3.0/test-tools/src/main/java/org/apache/atlas/runner/LocalSolrRunner.java:[15,1] cannot access org.apache.atlas.runner
[ERROR]   ZipException opening "org.restlet-2.4.3.jar": zip END header not found

I’ve already tried the following steps:

  • Cleared the local Maven cache by deleting the .m2/repository folder.
  • Re-downloaded the org.restlet dependencies using mvn clean install.
  • Despite these actions, the issue persists. The restlet JAR files seem to be corrupted or incomplete.

Environment:

Apache Atlas 2.3.0
Oracle Linux 9.4
Apache Maven 3.6.3 (I also tried with Maven 3.9.9)
Any advice on how to resolve this issue or suggestions for further
troubleshooting would be appreciated!



You need to sign in to view this answers

Exit mobile version