金山毒霸杀毒一次之后,IDEA启动时报错,
Connected to the target VM, address: 'javadebug', transport: 'shared memory'
错误: JMX 连接器服务器通信错误: service:jmx:rmi://lenovo2017
Disconnected from the target VM, address: 'javadebug', transport: 'shared memory'
Process finished with exit code 1
网上搜索了下解决方法,基本上都是dao idea安装目录bin下的idea64.exe.vmoptions(64位)文件,复制其内容至idea页面配置项目里的vm options。
idea64.exe.vmoptions中里面的内容有挺多项的,其实不是全部都需要复制进去,
只要复制 -Djava.net.preferIPv4Stack=true 到 VM options 即可,如下:

如果 VM options中之前已有其它参数配置,直接在后面空格之后追加这一串即可!
当使用金山毒霸后,IDEA启动出现JMX连接错误,表现为'Connected to the target VM, address: 'javadebug', transport: 'shared memory''和'Disconnected from the target VM, address: 'javadebug', transport: 'shared memory''。解决方法是在IDEA的vmoptions配置中添加'-Djava.net.preferIPv4Stack=true'参数。只需将该参数追加到已有的VMoptions配置后面即可解决问题。
2053

被折叠的 条评论
为什么被折叠?



