原文:SpringBoot 启动失败 Failed to determine a suitable driver class 问题解决方案

Description: Failed to auto configure a DataSource: spring.datasource.url is not specified and no embedded datasource could be auto configured. Reason: Failed to determine a suitable driver class Acti ...

2019-06-27 16:18 0 8160 推荐指数:

查看详情

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