可以参考下这篇文章,希望对你有帮助: 解决eclipse中Tomcat“the server cannot be started because one or more of the ports are invalid”端口报错_了解—学习—进步—满足-CSDN博客 本文解决在eclipse中使用Tomcat运行Jsp文件时,出现“the server cannot be started because one or more of the ports are invalid. open the server editor and correct the invalid ports.”报错的问题。(这是从其他地方找的报错截图,大家不要介意哈)报错译文:服务器无法启动,因为一个或多个端口无效。打开服务器编辑器并纠正无效端口。出现这个问题原因是我们刚刚. https://blog.csdn.net/jiongxian1/article/details/109165336
把details打开看一看 讲的是port 不可用。进控制台关jar程序。
端口被占用了,你tomcat设置的端口号是多少,换一个端口号试下。