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

论坛 期权论坛 脚本     
匿名技术用户   2021-1-2 18:42   11   0

在本机使用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 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP