当我尝试启动nexus时,我一直收到这个错误。
Error installing bundle listed in startup.properties with url: mvn:org.ops4j.pax.url/pax-url-aether/2.4.7 and startlevel: 1
java.lang.NullPointerException
at org.apache.karaf.main.Main.destroy(Main.java:593)
at org.sonatype.nexus.karaf.NexusMain.main(NexusMain.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
at
com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:63)如何解决这个问题?
发布于 2017-11-23 18:43:37
您确定nexus/system文件夹的文件权限是正确的吗?我也遇到过类似的错误,nexus/system归root所有,而不是我用来运行nexus的用户。
我通过运行sudo chown nexus:nexus -R /opt/nexus/解决了我的问题。
https://stackoverflow.com/questions/46908738
复制相似问题