Web server failed to start. Port 8080 was already in use.
Posted 贵在坚持
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的值是任意的,其他的都是固定的写法.
以上是关于Web server failed to start. Port 8080 was already in use.的主要内容,如果未能解决你的问题,请参考以下文章