原文:org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplic

解決辦法: . 在pom.xml中必須添加依賴 .啟動類上必須添加注解 Controller .啟動類上必須添加注解 EnableAutoConfiguration 或 SpringBootApplication ...

2019-11-11 10:57 0 10386 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM