FATAL ERROR in native method: JDWP No transports initialized
程序员文章站
2022-03-15 20:34:02
...
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) ERROR: transport error 202: gethostbyname: unknown host ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
网上搜索解决办法
在本机的/etc/hosts中增加如下内容即可
127.0.0.1 localhost.localdomain localhost
不行
在重启正常