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


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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM