在写一个java web程序时,每次打开eclipse都会报出下面的问题:
Several ports (8005, 8009) required by Tomcat v8.0 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).
查了一下网上,应该是端口被占用,可以到severs文件中去改端口,也可以在任务管理器中结束javaw.exe,然后再点击运行就可以运行程序了。