原文:springboot多模块测试启动异常:Failed to determine a suitable driver classs

java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext DefaultCacheAwareContextLoaderDelegate.j ...

2018-09-17 11:18 0 3654 推荐指数:

查看详情

SpringBoot启动报错Failed to determine a suitable driver class

SpringBoot启动报错如下 把这个依赖注释掉就好了 原因 应用没有使用到DataSource,但是在pom.xml里引入了mybatis-spring-boot-starter 问题解决办法 有两种: 把mybatis-spring-boot-starter的依赖去掉 ...

Tue May 07 05:35:00 CST 2019 0 1634
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM