Current location - Quotes Website - Team slogan - Error in popup window when running project in eclipse.
Error in popup window when running project in eclipse.
According to years of experience, the port has been occupied.

The reason is that you started a tomcat before, and then failed to close it or failed to close it, resulting in the port still being used. So when you start again, you will report that ports 8005 and 8009 are occupied.

Solution: win+r, enter cmd to enter the command line, and then enter netstat -ano to check the port occupation.

Take mysql as an example, I found port 3306, so your situation is to find port 8080 or 8005 or 8009.

When you see that the last column is pid= 1 100, open the task manager and find the column with pid of 1 100. If there is no pid column, click View according to the settings shown below. > select PID-& gt;; of course

After finding the process, right-click "End Process Tree", and finally enter netstat -ano to check that the port is not occupied before restarting.