码迷,mamicode.com
首页 > 编程语言 > 详细

Springboot启动报错:Failed to determine a suitable driver class

时间:2020-02-21 12:36:39      阅读:71      评论:0      收藏:0      [点我收藏+]

标签:inf   alt   attr   esc   img   rip   eterm   bsp   参数   

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

 

原因:

没有配置数据源,但springboot默认启用了数据源配置

解决办法:

启动类添加exclude参数,不启用DataSource

技术图片

 

Springboot启动报错:Failed to determine a suitable driver class

标签:inf   alt   attr   esc   img   rip   eterm   bsp   参数   

原文地址:https://www.cnblogs.com/alanchenjh/p/12340898.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!