首页 > 学院 > 开发设计 > 正文

Eclipse 不能调试的问题

2019-11-14 23:05:41
字体:
来源:转载
供稿:网友
Eclipse 不能调试的问题现象

弹出 Cannot connect to VM

Console 中的输出是:ERROR: transport error 202: connect failed: Connection refusedERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

解决方法

我的 /etc/hosts 中又一行信息为:10.20.10.103 localhost注释掉就可以了


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表