tomcat启动报错:Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown:

爱⌒轻易说出口 提交于 2019-12-05 22:26:17

问题:启动tomcat遇到启动报错:

Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: base: base: Temporary failure in name resolution
Listening for transport dt_socket at address: 8788
错误: 代理抛出异常错误: java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: base: base: 域名解析暂时失败

 

解决办法:

vi /etc/hosts

在127.0.0.1和::1行后追加base

 

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!