Debugger failed to attach: handshake failed - connection prematurally closed 解决方法

来源:互联网 发布:sublime java插件 编辑:程序博客网 时间:2024/06/08 19:06

之前一直远程调试服务器。

Tomcat  40003端口

后来发现这个服务器的端口被关掉了。然后tomcat log 就在一直报Debugger failed to attach: handshake failed - connection prematurally closed。

所以解决版本基本上就是换个端口或者把远程调试关掉。

关掉的意思就是

#JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,address=40003,suspend=n,server=y"

0 0
原创粉丝点击