Eclipse调用Tomcat出错

错误提示: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的端口

猜你喜欢

转载自www.cnblogs.com/roadwide/p/11912405.html
今日推荐