If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
程序员文章站
2022-04-19 22:40:48
...
在maven的pom文件中修改里配置文件的位置,启动时报错:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
解决办法:
在启动类中修改SpringBootApplication
注解为:
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
上一篇: 婚后临走香蕉群体超搞笑
下一篇: 酒鬼笑话
推荐阅读
-
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
-
If you want an embedded database please put a supported one on the classpath
-
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath..
-
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
-
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath
-
cloud 启动报错:If you want an embedded database please put a supported one on the classpath
-
If you want an embedded database please put a supported one on the classpath
-
If you want an embedded database please put a supported one on the classpath
-
spring boot 启动报If you want an embedded database please put a supported one on the classpath
-
配置SpringCloud时错误:If you want an embedded database please put a supported one on the classpath