错误: JMX 连接器服务器通信错误: service:jmx:rmi://***

电脑没有空间了,正想清理一下硬盘空间,这时不知道金山毒霸啥时候装上了,就想把它卸载了,卸载的过程中看到有空间清理,随手一点,清理出了10个G,然后再打开idea运行项目就报出这个错。

错误: JMX 连接器服务器通信错误: service:jmx:rmi://DESKTOP-1GC2MH1
Disconnected from the target VM, address: '127.0.0.1:56792', transport: 'socket'

Process finished with exit code 1

 

解决方法:

打到idea的安装目录:

打到文件idea.exe.vmoptions,复制里面的内容

 

在edit configration中的vm option的黏贴上面的内容,即可。

 

posted @ 2019-06-20 10:38  二奎  阅读(3200)  评论(0编辑  收藏  举报