# 报错
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).
# 解决办法
# 启动类Application.java文件添加 (exclude={DataSourceAutoConfiguration.class})
# 例
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
public class DemoWcApplication {
public static void main(String[] args) {
SpringApplication.run(DemoWcApplication.class, args);
}
}