hugh 的个人博客

java.net.UnknownHostException: bogon: bogon: nodename nor servname provided, or not known--异常

异常:

在Mac下myeclipse启动web 报如下错误

Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: bogon: bogon: nodename nor servname provided, or not known

 

处理:

在 etc/hosts里加

127.0.0.1    localhost bogon

 


标题:java.net.UnknownHostException: bogon: bogon: nodename nor servname provided, or not known--异常
作者:hugh0524
地址:https://blog.uproject.cn/articles/2016/07/16/1468684624515.html