今天在eclipse和IDEA中启动tomcat时发现localhost:8080报404,在tomcat下运行startup.bat报错然后闪退,百度出可能是端口8080被占用,用命令提示符查看了一下占用8080端口的进程,然后将其终止。
netstat -ano | findstr 8080
taskkill /pid 45784 /f
今天在eclipse和IDEA中启动tomcat时发现localhost:8080报404,在tomcat下运行startup.bat报错然后闪退,百度出可能是端口8080被占用,用命令提示符查看了一下占用8080端口的进程,然后将其终止。
netstat -ano | findstr 8080
taskkill /pid 45784 /f