
Flash Advertise
| Fedora系统Eclipse不能Debug的解决方法 | ||
| 摘自: linux.ccidnet.com 被阅读次数: 394 | ||
由 yangyi 于 2007-12-31 20:03:19 提供 | ||
因为我的机器比较内存比较少512M,在windows下运行eclipse经常因为内存不够而自动退出eclipse,所以就装了Red Hat的 Fedora6,经过一天的折腾后,发现不能调试web程序,后来再网上查了些资料解决了问题,但是因为所查资料都是英文的所以记录下来备忘。
错误信息是: ATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113) ERROR: transport error 202: gethostbyname: unknown host ["transport.c",L41] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) ["debugInit.c",L500] JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initialized
解决办法: 在/etc/hosts文件中加入下面一行内容 127.0.0.1 localhost.localdomain localhost
( 原文链接: http://tech.ccidnet.com/art/302/20071128/1290405_1.html |