我在 Nexus(版本 3.x)中遇到一个问题,我没有进行任何更改。我的 Nexus 服务正在运行,但显示许多与不同捆绑包相关的错误,例如
1.
ERROR [FelixStartLevel] *SYSTEM org.apache.karaf.deployer.features.FeatureDeploymentListener - Unable to update deployed features for bundle: org.apache.felix.framework - 6.0.5
java.lang.NullPointerException: null
at org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:254)
at org.apache.karaf.deployer.features.FeatureDeploymentListener.init(FeatureDeploymentListener.java:90)
at org.apache.karaf.deployer.features.osgi.Activator$DeploymentFinishedListener.deploymentEvent(Activator.java:86)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.registerListener(FeaturesServiceImpl.java:296)
ERROR [FelixDispatchQueue] *SYSTEM org.apache.karaf.deployer.features.FeatureDeploymentListener - Unable to u
pdate deployed features for bundle: org.apache.karaf.log.core - 4.3.6
java.lang.NullPointerException: null
at org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:254)
at org.apache.felix.framework.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:915)
at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:834)
at org.apache.felix.framework.EventDispatcher.run(EventDispatcher.java:1147)
at org.apache.felix.framework.EventDispatcher.access$000(EventDispatcher.java:54)
at org.apache.felix.framework.EventDispatcher$1.run(EventDispatcher.java:102)
at java.lang.Thread.run(Thread.java:750)
我尝试清除Nexus的缓存,重新启动服务,但tjos不起作用。我希望 Nexus 处于运行状态并且没有错误,这样我就可以看到它的仪表板和工作情况。
已解决。我尝试在另一台服务器上设置相同的版本(3.38)并遇到相同的问题。所以,我安装了3.40版本,并且它有效。之后,我简单地执行了迁移,我的 Nexus 就启动并运行了。