Since upgrading to OSS 3.19.0 I am unable to start the nexus service, which returns error:
Error occurred during initialization of VM
java/lang/ClassNotFoundException: error in opening JAR file
lib/endorsed/._org.apache.karaf.specs.java.xml-4.2.6.jar
I updated my java environment which was previously:
openjdk version “1.8.0_191”
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
It is worth noting I am running this on an EC2 instance using Amazon Linux.
I have tried reinstalling several times to make sure, however the process I am using is exactly the same as previous versions. Re-installing back to 18.1 seems to work.
The main difference I am seeing between the 18.1 and 19.1 installs is that 19 lib/ contains an endorsed folder and 18 does not.
The endorsed folder contains:
org.apache.karaf.specs.java.xml-4.2.6.jar org.apache.karaf.specs.locator-4.2.6.jar
._org.apache.karaf.specs.java.xml-4.2.6.jar ._org.apache.karaf.specs.locator-4.2.6.jar