在eclipse运行项目报以下错误
Several ports (8005, 8080) 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).
该错误提示为8005,8080端口号被占用,提示更换端口号。
解决办法:键盘的win+R 打开运行框,输入cmd,在cmd里输入netstat -ano 会显示当前运行的进程的本地地址,PID等,在本地地址中找到8080端口,查看对应PID。打开任务管理器,在详细信息查找那个PID,结束这个进程,再重新运行eclipse程序即可。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)