SpringBoot 在 Run us  ->Java application 运行后报错:

The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured. 

解决办法:
进到项目然后选择 application文件,点进去添加“server.port=8888”即可