报错如下:
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(exclude = DataSourceAutoConfiguration.class)
4万+

被折叠的 条评论
为什么被折叠?



