EurekaServerApplication: Failed to retrieve application JMX service URL
导入一个spring cloud的项目,启动时候报:EurekaServerApplication: Failed to retrieve application JMX service URL
错误信息
EureKaServerApplication:Failed to retrieve application JMX service URL
的错误,网上找了好久,没找到解决方案,自己摸索,解决了。下面简单说下经过。
看到错误信息和jmx有关,就去启动配置取消了。
选择项目 ——>然后选择spring boot 插件 ,找到到启动项目,有一个spring boot 选择项,
取消Enable JMX agent 选项
点击Edit configuration templates >>spring boot >>modify options
点击 Disable JMX agent 就可
点击 Apply >> OK
agent 就可
点击 Apply >> OK
重新运行main入口