【发布时间】:2013-10-04 19:49:51
【问题描述】:
我正在尝试按照本教程在 IntelliJ 中制作一个简单的 Web 应用程序: http://wiki.jetbrains.net/intellij/Creating_a_simple_Web_application_for_Tomcat_in_IntelliJ_IDEA_12
我相信我的 Tomcat 安装正确,因为我去的时候看到了 Tomcat 图片
http://localhost:8080/
我已经执行了所有步骤,直到它告诉我运行 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 来自 Run -> Edit Configurations 中的 JMX 端口。
我该如何解决这个问题?
【问题讨论】:
-
这些答案都不适合我。你找到确切的解决方案了吗?
标签: java web-services tomcat web-applications intellij-idea