springboot---没有配置数据库启动报错

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).

解决方法:

在spring boot入口方法上加上注解
//禁用spring自动配置数据库
@EnableAutoConfiguration(exclude = DataSourceAutoConfiguration.class)
上一篇:带你读AI论文丨用于目标检测的高斯检测框与ProbIoU


下一篇:TF项目实战(基于SSD目标检测)——人脸检测1