JDK9版本下nexus错误:The nexus service was launched, but failed to start.

本文档详细介绍了在JDK9及更高版本下遇到Nexus启动失败的问题,包括错误信息'The nexus service was launched, but failed to start.'和'Ignoring option MaxPermSize; support was removed in 8.0'。解决方案包括下载并添加缺失的activation-1.1.1.jar和jaxb-api-2.3.0.jar到Nexus的lib目录,以及修改Nexus配置文件wrapper.conf中JDK路径,确保使用JDK1.8。" 105234346,5589275,Spark SQL与Hive的兼容与拓展解析,"['大数据开发', 'Spark框架', 'Hive框架', '数据处理', 'SQL']
摘要由CSDN通过智能技术生成

在运行私服时报错的解决办法:

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值