我正在按照以下教程尝试在IntelliJ中制作一个简单的Web应用程序:http : //wiki.jetbrains.net/intellij/Creating_a_simple_Web_application_for_Tomcat_in_IntelliJ_IDEA_12
我相信我的Tomcat已正确安装,因为当我转到时会看到tomcat图片
http://localhost:8080/
我一直按照所有步骤进行操作,直到它告诉我run的那一部分为止index.jsp
,此时出现错误:
Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: nodename nor servname provided, or not known
我在日志中看到了这一点:
Application Server was not connected before run configuration stop, reason:
Unable to ping server at localhost:1099
该1099来自运行->编辑配置中的JMX端口。
我该如何解决?