IDEA 下启动tomcat报错

在IDEA里配置时tomcat时,可能会遇到类似的问题,当tomcat配置好后,启动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]

解决方法

此问题经过实践发现,是在IDEA的tomcat配置时,将tomcat的路径的最后,多增加了一个·/·引起的,将·/·删除即可解决

IDEA 下启动tomcat报错_第1张图片

你可能感兴趣的:(IDEA 下启动tomcat报错)