阿里连接池报错:Failed to configure a DataSource: ‘url’ attribute is not specified and no embedd

明明已经配置数据库连接信息和数据库驱动但是还是一直报这个错

后来发现错误出在了启动类上,原本的启动类的注解是这样的:

@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})

但是由于我们用的是阿里的连接池,需要改成

@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class,DataSourceAutoConfiguration.class})

嘿嘿,启动成功

阿里连接池报错:Failed to configure a DataSource ‘url‘ attribute is not specified and no embedd相关推荐

  1. springboot报错Failed to configure a DataSource url attribute is not specified and no embedd

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

  2. 初步搭建微服务应用,报错:Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedd

    报错: Failed to configure a DataSource: 'url' attribute is not specified and no embedd If you want an ...

  3. 报错:Failed to configure a DataSource: url attribute is not specified and no embedd

    Failed to configure a DataSource: 'url' attribute is not specified and no embedd 错误: 在网上由好几种解决方法,例如: ...

  4. SpringBoot 错误 : Failed to configure a DataSource: 'url' attribute is not specified and no embedd

    搭建springboot应用,报错:Failed to configure a DataSource: 'url' attribute is not specified and no embedd 查 ...

  5. Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedd.

    springboot启动报错:Failed to configure a DataSource: 'url' attribute is not specified and no embedd. Rea ...

  6. Failed to configure a DataSource: ‘url’ attribute is not specified and no embedd

    初步搭建springboot应用,报错:Failed to configure a DataSource: 'url' attribute is not specified and no embedd ...

  7. Failed to configure a DataSource: 'url' attribute is not specified and no embedd

    Failed to configure a DataSource: 'url' attribute is not specified and no em 无法配置DataSource:未指定'url' ...

  8. Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedd(究极踩坑完美解决)

    前言:Failed to configure a DataSource: 'url' attribute is not specified and no embedd这个错误想必大家已经非常非常熟悉了 ...

  9. 初次使用SpringBoot发现Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedd

    "Failed to configure a DataSource: 'url' attribute is not specified and no embedd" 意思为配置数据 ...

最新文章

  1. js判断数据类型是哪种
  2. “端午节” 送亲戚,送长辈,粽子可视化大屏来帮忙!
  3. js中匿名函数的N种写法
  4. 最优化——线性规划总结1(线性规划标准型,规范型,顶点)
  5. Android实例-手机安全卫士(十一)-自定义对话框点击事件处理
  6. IDEA编译运行Springboot+vue项目卡死,一直building和copying resources
  7. 域环境安装企业从属CA两种方法
  8. lvs keepalive配置Jenkins2高可用
  9. dotnetfx40lp 不能安装在d盘_使用小白一键重装系统给电脑安装双系统教程
  10. Vue 3为什么要用 Proxy API 替代 DefineProperty API?
  11. linux定时器原理
  12. 基本比例尺标准分幅编号流程
  13. 阿里云香港服务器带宽太贵怎么办?香港节点全球CDN加速你值得拥有
  14. 一分钟解决你的公有云私有云选择困难症
  15. 某大神网站发现2048一枚
  16. Twitter只剩下两个硬核程序员了!
  17. 卸载了PL/SQL Developer,说一下与Toad for Oracle的对比
  18. 网络转载——人生最重要的三种能力,不是读书能学来的!
  19. uap 自动生成场景代码
  20. Spring批处理教程

热门文章

  1. 好好学习容易,天天向上难
  2. Python如何打包exe文件? 如何换成喜欢的图标?
  3. 怎么彻底删除聊天记录?几种适合的办法交给你!
  4. 微信银行卡如何解除绑定?图文教程,快速解除
  5. 微信开发HTML5轻游戏中的几个坑
  6. 极品飞车ol服务器维护,极品飞车OL玩不了怎么办 极品飞车OL进不去解决方法
  7. HEVC/H.265硬件编码器实现杂谈
  8. JS前端接口加密/解密
  9. 支付宝国际账号使用笔记
  10. 2017春运抢票软件哪个好,教你看懂刷票原理!| 宅客周刊