今天重装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调不起来。配置文件修改后就成了。
今天重装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调不起来。配置文件修改后就成了。