原文:解决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