Eclipse 不能调试的问题

现象

弹出 Cannot connect to VM

Console 中的输出是:
ERROR: transport error 202: connect failed: Connection refused
ERROR: 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
注释掉就可以了

posted @ 2015-02-27 13:16  徐软件  阅读(1112)  评论(0编辑  收藏  举报