![](/img/trans.png)
[英]APPLICATION FAILED TO START - Consider defining a bean of type in your configuration [SpringBoot]
[英]APPLICATION FAILED TO START, in springboot
嘗試殺死或停止在端口上運行的應用程序
在 windows (cmd) 中:
netstat -ano | findstr:8080
netstat -ano | findstr:8080
taskkill /PID <processId> /F
在linux(基於大邊的終端)中:
sudo kill -9 `sudo lsof -t -i:8080
您還可以更改應用程序端口。 在your application/resources/application.properties
文件中添加端口。
例子:
server.port=5001
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.