运行时报错:
Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
解决方案:
在启动类上加:
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
运行时报错:
Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
解决方案:
在启动类上加:
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})