SpringBoot启动错误:如何识别未指定数据库类型的嵌入式数据库驱动?
- 内容介绍
- 文章标签
- 相关推荐
本文共计157个文字,预计阅读时间需要1分钟。
SpringBoot启动报错:Cannot determine embedded database driver class for database type NONE
SpringBoot启动时会自动注入数据源和配置JPA。解决方法:
1. 确保在项目的依赖中添加了对应数据库的驱动。
2.在application.properties或application.yml中配置正确的数据库连接信息。
本文共计157个文字,预计阅读时间需要1分钟。
SpringBoot启动报错:Cannot determine embedded database driver class for database type NONE
SpringBoot启动时会自动注入数据源和配置JPA。解决方法:
1. 确保在项目的依赖中添加了对应数据库的驱动。
2.在application.properties或application.yml中配置正确的数据库连接信息。

