Web server failed to start. Port 8080 was already in use.

Description:

Web server failed to start. Port 8080 was already in use.

Action:

Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.

2019-11-11 11:25:41.924  INFO 137056 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'

 

端口号已经被占用

在resource文件夹下new File - application.properties

server.port=${port:8888}

在这个文件里,除了port的值是任意的,其他的都是固定的写法.

 

posted @ 2019-11-11 14:09  wangyy  阅读(15827)  评论(1编辑  收藏  举报