错误信息是:
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文件中把因各种原因而注释或删除的下文加上即可
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
本文介绍了如何解决Java调试过程中出现的JDWP初始化错误问题。错误信息提示为:ATALERRORinnativemethod:JDWPNotransportsinitialized等。解决方法是在/etc/hosts文件中添加127.0.0.1 localhost.localdomain localhost这一行。
1万+

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



