Maven私服(一) – The nexus service was launched, but failed to start.

最后更新于:2022-04-01 20:45:29

今天想试一下Maven的私服,从网上下了个Nexus,安装,启动 ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-09-06_57ce6500bc3dc.jpg) 报错信息: ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-09-06_57ce6500d10b0.jpg) 看了下目录,应该有日志的, ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-09-06_57ce6500e7d7d.jpg) 好吧,说什么版本不对 在网上找到了答案: [http://blog.csdn.net/pk490525/article/details/14228423](http://blog.csdn.net/pk490525/article/details/14228423) 感谢分享 说是JDK的版本不对,我这里用的是JDK6,要使用JDK7才行,Nexus从2.6开始就不支持JDK6了。 还看到网上说直接指定下Java的地址也可以: ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-09-06_57ce650112af0.jpg) 本地没有JDK7就不尝试了。
';