spriing boot 启动报错:Cannot determine embedded database driver class for database type NONE

 这是因为spring boot默认会加载org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration类,DataSourceAutoConfiguration类使用了@Configuration注解向spring注入了dataSource bean。因为工程中没有关于dataSource相关的配置信息,当sprin
相关文章
相关标签/搜索