Maven nexus 安装nexus私服出现的问题和解决办法

(编辑:jimmy 日期: 2024/9/19 浏览:2)

1. 在win10中安装nexus时提示:wrapper | OpenSCManager failed - 拒绝访问。 (0x5)

主要是没有权限。需要以管理员的身份运行

如果你是直接点击 start-nexus.bat 来启动服务的话:

Maven nexus 安装nexus私服出现的问题和解决办法

如果你是 通过 cmd窗口来执行的话,需要设置命令提示符窗口的权限来执行

Maven nexus 安装nexus私服出现的问题和解决办法

2. wrapper | The nexus-webapp service is not installed - The specified service does not exist

第一个问题解决之后,又出现了这个问题。

解决方式是到 D:\Program\nexus-2.0.6-bundle\nexus-2.0.6\conf 目录下,修改 nexus.properties 在最后添加一行 wrapper.startup.delay=30

然后先运行install-nexus.bat ,start-nexus.bat 就可以了

D:\Program\nexus-2.0.6-bundle\nexus-2.0.6\bin\jsw\windows-x86-64>install-nexus.bat

        wrapper  | nexus installed.

D:\Program\nexus-2.0.6-bundle\nexus-2.0.6\bin\jsw\windows-x86-64>start-nexus.bat

 wrapper | Starting the nexus service...
 wrapper | Waiting to start...
 wrapper | Waiting to start...
 wrapper | nexus started.

D:\Program\nexus-2.0.6-bundle\nexus-2.0.6\bin\jsw\windows-x86-64>

以上就是对安装nexus 出现的问题及解决办法,后续继续整理相关知识,谢谢大家对本站的支持!

一句话新闻
高通与谷歌联手!首款骁龙PC优化Chrome浏览器发布
高通和谷歌日前宣布,推出首次面向搭载骁龙的Windows PC的优化版Chrome浏览器。
在对骁龙X Elite参考设计的初步测试中,全新的Chrome浏览器在Speedometer 2.1基准测试中实现了显著的性能提升。
预计在2024年年中之前,搭载骁龙X Elite计算平台的PC将面世。该浏览器的提前问世,有助于骁龙PC问世就获得满血表现。
谷歌高级副总裁Hiroshi Lockheimer表示,此次与高通的合作将有助于确保Chrome用户在当前ARM兼容的PC上获得最佳的浏览体验。