错误信息大概这种感觉

ERROR:transport error 202: gethostbyname: unknown host

 

A configuration error occurred during startup. Please verify the preference field with the prompt: 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]

 

找到“系统盘:\Windows\System32\drivers\etc”下面的host或者hosts(Linux)文件,加一句

127.0.0.1 localhost

或者

127.0.0.1 localhost.localdomain localhost (Linux)

 

 

改了以后的确好了,但之后我无聊又给改回去了,仍然没有问题……

不过如果出现过这个问题建议就不要改回来了……你改一次它记住了,但过段时间就又忘了的……然后还得再来一次……

相关文章:

  • 2021-07-24
  • 2022-12-23
  • 2022-01-20
  • 2021-10-06
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2021-08-15
  • 2021-09-21
  • 2021-09-11
  • 2021-04-20
相关资源
相似解决方案