问题1:在myeclipse中有自己的tomcat服务器,我又把自己的tomcat添加到myeclipse中,需要修改端口号
找到tomcat安装路径,C:\XX\apache-tomcat-8.5.9\conf文件夹下的server.xml找到相应的
<Server port="8005" shutdown="SHUTDOWN">改为
<Server port="8088" shutdown="SHUTDOWN">
重新启动就好了
问题2:在myeclipse没有正常关闭的情况下,再次在myeclipse中启动tomcat,发现错误
Several ports (8005, 8088, 8009) required by Tomcat v8.5 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
打开dos:问题解决