2

在 Nexus 3 的 Sonatype 书籍的第 16.2 章中,您可以通过在 nexus 运行命令后按 enter 来启动 Karaf 控制台:

捆绑包可以通过 Karaf 控制台加载。要启用控制台,请将 bin\nexus.vmoptions 中的 karaf.startLocalConsole 设置为 true。这允许您在使用运行选项启动存储库管理器后按回车键访问 Karaf 控制台。

然而,这样做会导致

java.lang.NumberFormatException: For input string: ""
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at com.exe4j.runtime.WinLauncher$1.run(WinLauncher.java:80)

并且系统立即关闭。打开 Karaf 调试日志不会显示任何进一步的提示。

4

0 回答 0