Skip to content

IDEA 下启动tomcat报错

hzlzh edited this page Oct 23, 2017 · 2 revisions

在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的路径的最后,多增加了一个·/·引起的,将·/·删除即可解决

tomcat报错问题解决 ...