错误信息
Description:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
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).
Process finished with exit code 1
解决办法:
在启动类上增加@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class}),如下:
@EnableRyFeignClients
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
@SpringCloudApplication
public class AitlpAuthApplication {
public static void main(String[] args) {
SpringApplication.run(AitlpAuthApplication.class, args);
}
}
参考:

i软糖

最新评论
视频资源很全好用,安装后提示更新,安装包站长可以更新一下。
看這畫面應該是魔改 蜂蜜的影視TV 或 OKTV. 應該不是TVBOX, 兩個碼很不同...
网络请求失败
好用?