Cannot determine embedded database driver class for database type NONE
Description: Cannot determine embedded database driver class for database type NONE Action: If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active). 解决方法: 1. 说明你的数据库连接不上,看看有关数据库的配置是否加上。 认真检查配置文件。 2.添加数据-exclude={DataSourceAutoConfiguration.class} @SpringBootApplication(exclude={DataSourceAutoConfiguration.class}) 3. 去掉下面的引用 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency>