错误1: 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错误2: Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: zhangsan.local: zhangsan.local: nodename nor servname provided, or not known
解决办法:
1、vim /etc/hosts
2、添加如下内容
127.0.0.1 localhost127.0.0.1 localhost zhangsan.local 备注:具体原因楼主还不太清楚,但是解决办法就是红色位置上如果提示什么找不到,你就添加什么到hosts文件中与localhost对应上
mac-intellij ide 启动tomcat 报错:Local host name unknown
最新推荐文章于 2019-08-10 21:56:30 发布