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

2019-11-12 12:19:26 浏览数 (1)

代码语言:javascript复制
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

代码语言:javascript复制
server.port=${port:8888}

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

0 人点赞