美文网首页
nexus启动失败:Could not start Nexus,

nexus启动失败:Could not start Nexus,

作者: 软红十丈 | 来源:发表于2018-02-12 13:51 被阅读0次

昨天公司断电,测试机挂了。在上面的nexus服务也挂了。上去重启的时候,发现启动失败,在日志中发现了如下报错

 org.sonatype.nexus.NxApplication - Could not start Nexus, bad IO exception!
jvm 1    | java.io.EOFException: input contained no data

原因是nexus非正常挂掉后,重启时,sonatype-work/nexus/conf目录下的nexus.xml文件是空的。
处理方法是删除此文件,然后再启动,就会重新生成nexus.xml

相关文章

网友评论

      本文标题:nexus启动失败:Could not start Nexus,

      本文链接:https://www.haomeiwen.com/subject/jabrtftx.html