您的位置:首页 > 移动开发 > WebAPP

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

2016-11-20 23:23 961 查看
在本机使用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文件内容被替换成空的原因还是未解之谜。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐