原文:解決spring-boot啟動異常Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

第一種: 需要在主類頭加上 EnableAutoConfiguration 第二種: pom文件是否加了 lt dependency gt lt groupId gt org.mybatis.spring.boot lt groupId gt lt artifactId gt mybatis spring boot starter lt artifactId gt lt exclusions gt ...

2018-05-10 14:40 0 8188 推薦指數:

查看詳情

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