Eclipse调用Tomcat出错

若如初见. 提交于 2019-12-05 07:01:47

错误提示:The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports.

原因是是装Tomcat的时候server shutdown port没有设置成8005,而是-1,所以导致eclipse调不起来。

shutdown端口的意思是The command string that must be received via a TCP/IP connection to the specified port number, in order to shut down Tomcat.(为了关闭Tomcat,必须通过与指定端口号的TCP / IP连接接收的命令字符串。)

更改shutdown端口为8005,进入Tomcat文件的conf文件夹的server.xml中,修改其中shutdown的端口

原因是是装Tomcat的时候server shutdown port没有设置成8005,而是-1,所以导致eclipse调不起来。

shutdown端口的意思是The command string that must be received via a TCP/IP connection to the specified port number, in order to shut down Tomcat.(为了关闭Tomcat,必须通过与指定端口号的TCP / IP连接接收的命令字符串。)

更改shutdown端口为8005,进入Tomcat文件的conf文件夹的server.xml中,修改其中shutdown的端口

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!