Nexus 启动失败 nexus-webapp service was launched, but failed to start.

在本机使用nexus搭建私有库打开页面时显示该网页无法访问


到安装目录 ../nexus-2.13.0-01-bundle-2\nexus-2.13.0-01\bin\jsw\windows-x86-64中执行start-nexus.bat,显示service was launched, but failed to start.  


 到\nexus-2.13.0-01-bundle-2\nexus-2.13.0-01\logs打开日志文件wrapper.log,显示

org.sonatype.configuration.upgrade.ConfigurationIsCorruptedException: Could not read or parse security configuration file on path F:\maven\nexus\nexus-2.13.0-01-bundle\sonatype-work\nexus\conf\nexus.xml! It may be corrupted.


打开nexus.xml,发现文件已损坏,内容为空


解决:重新获得nexus.xml,替换损坏的nexus.xml文件。替换前注意将原有的文件进行备份。


测试:替换新的nexus.xml后,原先上传的第三方jar包都还存在,有惊无险。nexus.xml文件内容被替换成空的原因还是未解之谜。



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值