开发者

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

开发者 https://www.devze.com 2022-11-29 22:04 出处:网络 作者: lqh
本文主要介绍安装nexus私服的时候出现问题的解决办法,这里整理了两种问题并详细说明了解决办法,有需要的朋友可以参考下

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.zzWCCmbat ,start-nexus.bat 就可以了

D:\Program\nexus-2.0.6-bundle\nexus-2.0.6\bin\jsw\windows-x86-64>install-nexu开发者_DB2s.bat

        wrapper  | nexus installed.

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

 wrapper | Starting the nexus service...
http://www.devze.com wrapper | Waiwww.devze.comting 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 出现的问题及解决办法,后续继续整理相关知识,谢谢大编程客栈家对本站的支持!

0

精彩评论

暂无评论...
验证码 换一张
取 消