代码语言: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的值是任意的,其他的都是固定的写法.