在运行配置停止之前未连接应用程序服务器,原因:java.io.IOException:无法检索 RMIServer 存根:

The*_*der 5 jetty intellij-idea

我正在尝试使用 IntelliJ 中的 Jetty 插件来部署我的应用程序。我收到此错误消息。我能够使用 Tomcat 成功部署该应用程序。

谁能建议为什么?

Application Server was not connected before run configuration stop, reason:
    java.io.IOException: Failed to retrieve RMIServer stub:
    javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException:
    error during JRMP connection establishment; nested exception is: 
    java.net.SocketException: Connection reset]
Run Code Online (Sandbox Code Playgroud)

小智 2

我们也遇到过同样的问题,但是是 Tomcat。问题出在应用程序服务器的配置中:“Tomcat Home”和“Tomcat 基目录”末尾有一个反斜杠。

正确路径:C:\Program Files\apache-tomcat
失败路径:C:\Program Files\apache-tomcat\