Spring Boot錯誤:Unable to start embedded container...的問題解決


解決方法:

1、用錯了注解,改用以下注解:

@SpringBootApplication

相當於:@Configuration、@ServletComponentScan、@EnableAutoConfiguration

 

參考:

http://blog.csdn.net/zhang168/article/details/51423905

http://blog.csdn.net/fhhffchffy/article/details/50377934


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



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