错误提示:
Several ports (8005, 8080, 8009) required by Tomcat v7.0Server 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).
错误原因:
启动Tomcat时默认配置端口被占用,引起冲突
解决方法(二选一即可):
1.关闭占用端口的进程
步骤:①在cmd内查询所有端口以及被占用情况
②打开任务管理器关闭即可
2.修改Tomcat默认端口号
更改server.xml文件内的默认端口号