Cannot determine embedded database driver class for database type NONE.

NoSuchBeanDefinitionException: No qualifying bean of type [com.kfit.modu


Cannot determine embedded database driver class for database type NONE.


spring boot,jpa, No qualifying bean of type [javax.sql.DataSource]

Spring boot工+JPA,使用Spring boot默认数据库连接池遇到以上问题,工程一直没跑起来。搜罗网上

所有相关问题总结:

首先检查数据库驱动,名称有没有写错。

我是加入下面的依赖解决的:

 

	  <dependency>
		  <groupId>com.h2database</groupId>
		  <artifactId>h2</artifactId>
		  <scope>runtime</scope>
	  </dependency>

猜你喜欢

转载自blog.csdn.net/ljheee/article/details/78542680