eclipse中运行项目报错 :Tomcat“the server cannot be started because one or more of the ports are invalid”


   eclipse中使用Tomcat运行java文件时,出现“the server cannot be started because one or more of the ports are invalid. open the server editor and correct the invalid ports.”

 

报错译文:服务器无法启动,因为一个或多个端口无效。打开服务器编辑器并纠正无效端口。

出现这个问题原因是我们刚刚安装好Tomcat时并没有在浏览器中配置Tomcat的端口。

打开eclipse。
点击windows->show views->Others

 

双击Servers

 

 

 

 

 

 

 

保存后,再次运行即可。

 


免责声明!

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



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