原文:Spring Boot配置错误:Failed to determine a suitable driver class

Failed to determine a suitable driver class 出现这个错误,是因为我在pom.xml里添加了mysql和jpa的两个依赖,发生了冲突,去掉一个就好了 ...

2020-08-28 12:41 0 594 推荐指数:

查看详情

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
SpringBoot启动报Failed to determine a suitable driver class

应用没有使用到DataSource,但是在pom.xml里引入了mybatis-spring-boot-starter 问题解决办法 有两种: 把mybatis-spring-boot-starter的依赖去掉,这样就不会触发spring boot相关的代码 ...

Thu Apr 16 17:08:00 CST 2020 0 2344
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM