在运行私服时报错的解决办法:
cmd管理员窗口报错内容:The nexus service was launched, but failed to start.
wrapper.log下报错内容:Ignoring option MaxPermSize; support was removed in 8.0
1.运行nexus后错误:
wrapper: waiting to start...
wrapper: waiting to start...
wrapper: waiting to start...
The nexus service was launched, but failed to start.
一.错误原因jdk版本为1.9以上(因为1.9后jdk把nexus所需的jar包删除了)
(在F:\nexus\nexus-2.12.0-01\logs打开日志文件wrapper.log)
wrapper | Starting the nexus service...
wrapper | --> Wrapper Started as Service
wrapper | Launching a JVM...
jvm 1 | Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
按ctrl+F搜索在wrapper.log日志文件:Ignoring option MaxPermSize; support was