2019独角兽企业重金招聘Python工程师标准>>> hot3.png

spring boot启动报错:
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

application.properties文件新增配置:

spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration

转载于:https://my.oschina.net/u/3567851/blog/2247235

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource c相关推荐

  1. 报错信息为:Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource

    报错信息为:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource ...

  2. 完美解决Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource的问题

    文章目录 1. 复现问题 2. 分析问题 3. 解决问题 4. 总结问题 1. 复现问题 今天在启动项目时,遇到如下问题: *************************** APPLICATIO ...

  3. 【解决】Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource

    SpringBoot项目 Failed to configure a DataSource:'url' attribute is not specified and no embedded datas ...

  4. Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could

    新建了一个Spring boot项目后,启动项目,出现错误: 原因是项目中用到了Mysql数据库,启动前必须配置数据源配置文件 解决方法: 在resources目录下的application.prop ...

  5. 解决 Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource

    原因:yml或者properties文件没有被扫描到,需要在pom文件中<build></build>添加如下.来保证文件都能正常被扫描到并且加载成功 <!-- 如果不添 ...

  6. SpringBoot中“Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datas

    一. 异常现象 我在Spring Boot中关联MySQL.Mybatis进行数据库开发时,按照正常步骤添加了相关数据库的依赖,也进行了必要的数据库配置,结果在项目启动时出现如下异常信息: ***** ...

  7. Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded

    SpringCloud 项目启动出现未能配置数据源 Description:Failed to configure a DataSource: 'url' attribute is not speci ...

  8. Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded 。。。的解决办法

    问题背景: 搭建了Springboot项目之后,初次启动项目,发现项目无法启动.检查依赖都已经导入.依旧报错:"Failed to configure a DataSource: 'url' ...

  9. springboot 项目启动报错 url' attribute is not specified and no embedded datasource could be configured

    报错信息: Error starting ApplicationContext. To display the conditions report re-run your application wi ...

最新文章

  1. Tomcat报错:Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
  2. lwip之数据收发流程_3
  3. Java Review - HashMap HashSet 源码解读
  4. mysql多实例配置使用方法
  5. JavaScript实现表单的分向提交
  6. 使用gparted-LiveCD对centos分区调整---virtualbox磁盘调整序2
  7. JSP自定义标签_通过属性控制标签体的执行次数
  8. Dreamweaver网页设计与制作100例:用DIV+CSS技术设计的书法主题网站(web前端网页制作课作业)...
  9. Java中什么是句柄
  10. 树莓派安装基地Debian-Pi-Aarch64系统 SSD启动
  11. 【操作系统】结合哲学家进餐问题分析如何预防死锁
  12. 新知实验室 TRTC在线上教育场景中的一种应用实践
  13. java 引入本地dtd,java解析xml文件读取本地dtd或者忽略dtd
  14. L84.linux命令每日一练 -- 第11章 Linux系统管理命令 -- rpm和yum
  15. Web安全防攻(渗透测试)
  16. UML-认识六种箭头,轻松读懂UML图
  17. Groovy~Groovy的Map操作
  18. 2021年博士研究生招生大概率延期举行
  19. 微信小程序-腾讯地图根据经纬度获取位置与根据位置获取经纬度
  20. PPT转PDF后,ppt的动画分pdf多页显示方法(适用于office做的动画)

热门文章

  1. linux基础命令介绍十四:定时任务
  2. 给UIScrollView添加category实现UIScrollView的轮播效果
  3. Hadoop 单节点 伪分布 安装手记
  4. DialogInterface.OnClickListener()和android.view.View.OnClickListener冲突问题
  5. 路由器、三层交换机通过OSPF实现互访 (OSPF初学案例)
  6. SQL SERVER数据库中的数据类型 转
  7. 博文视点大讲堂35期-It's Android Time:程序员创富有道! 圆满结束
  8. Hive mac 客户端工具DbVisualizer配置
  9. 怎样在Razor中使用HtmlHelper(MvcHtmlString)
  10. linux 程序自启