Nexus OSS 无法启动

发布于 2025-01-14 11:42:11 字数 885 浏览 2 评论 0原文

我正在尝试在 debian 10 系统上安装 Nexus 3.38。我使用 aodoptopenjdk-8... 作为 Java 运行时。

当我尝试将其作为 systemd 服务运行时,nexus 不会启动。没有可用的日志。

当我尝试直接使用命令 nexus start-launchd 运行 nexus 时(几乎与 nexus start 相同),我得到以下输出,

bin/nexus start-launchd
Starting nexus
Could not resolve mvn:org.apache.felix/org.apache.felix.framework/6.0.5

我寻找这个库/依赖项并找到它在{nexus-home}/system/org/apache/felix/org.apache.felix.framework/6.0.5/。但文件名看起来很糟糕 org.apache.felix.framework- 就是这样。没有*.jar。对于其他一些依赖项也可以看到同样的情况,例如其他 felix 或 karaf。

{nexus-home}/system 中的其他依赖项看起来不错。

如果我将名称从 org.apache.felix.framework- 更改为 org.apache.felix.framework-6.0.5.jar 那么看起来这个依赖项已加载并且下一站是卡拉夫。

我必须修复所有 jar 文件的名称吗?为什么我没有找到其他抱怨,这是我的显示器前的错误吗?

我在当前版本的 apache karaf 中看到了同样的问题。 jar 文件的名称已损坏。

I'm trying to install nexus 3.38 on a debian 10 system. I use aodoptopenjdk-8... as Java runtime.

When I try running it as a systemd sevrice nexus does not start. There are no usable logs.

Whe I try running nexus directly with command nexus start-launchd (virtually the same as nexus start) I get the following out put

bin/nexus start-launchd
Starting nexus
Could not resolve mvn:org.apache.felix/org.apache.felix.framework/6.0.5

I look for this library/dependency and find it in {nexus-home}/system/org/apache/felix/org.apache.felix.framework/6.0.5/. But the filename looks crippled org.apache.felix.framework- that's it. No *.jar. The same can be seen with some other dependencies, like other felix stuff or karaf.

Other dependecies in {nexus-home}/system look fine.

If I change the name from org.apache.felix.framework- to org.apache.felix.framework-6.0.5.jar then it looks like this dependency loaded and next stop is karaf.

Do I have to fix all the names of the jar files? Why do I not find other complains about that, is it an error in front of my monitor?

I've seen the same problem with current release of apache karaf. The names of the jar files are crippled.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眼中杀气 2025-01-21 11:42:11

Nexus 3.38.0-01 的 unix 软件包 (*.tar.gz) 的 system 文件夹内容已损坏。

我已经下载了 Windows 软件包 (*.zip) 并用此版本替换了 system

现在一切看起来都很好。

The content of the folder system of the unix package (*.tar.gz) of nexus 3.38.0-01 is damaged.

I've downloaded the windows package (*.zip) and replaced the system with this version.

Everything looks fine now.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文