使用依赖

 <!-- mybatis-plus --><dependency><groupId>com.baomidou</groupId><artifactId>mybatis-plus-boot-starter</artifactId><version>3.1.2</version></dependency>

报错相关信息:

***************************
APPLICATION FAILED TO START
***************************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 classAction: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).

解决:添加依赖

 <!-- dynamic-datasource--><dependency><groupId>com.baomidou</groupId><artifactId>dynamic-datasource-spring-boot-starter</artifactId><version>2.5.4</version></dependency>

springboot项目启动报错 url‘ attribute is not specified and no embedded datasource could be configured相关推荐

  1. 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 ...

  2. SpringBoot项目启动报错:Field userMapper in com.demo.controller.MemberController required a bean of type ‘c

    问题描述: SpringBoot项目启动报错,报错内容:'com.xxx.mapper.XxxxMapper' that could not be found ******************** ...

  3. SpringBoot项目启动 报错:Error executing Maven. end tag name </settings> must match start tag name

    SpringBoot项目启动 报错:Error executing Maven. end tag name must match start tag name from line xxx 第一次创建s ...

  4. idea软件 springboot项目启动报错:命令行太长解决

    idea软件 springboot项目启动报错:命令行太长解决 1.找到项目下得.idea文件夹,打开文件workspace.xml 2.搜索标签 <component name="P ...

  5. 2021新版本Nacos配置中心提示‘url‘ attribute is not specified and no embedded datasource could be configured

    2021新版本Nacos配置中心提示'url' attribute is not specified and no embedded datasource could be configured 1. ...

  6. springboot项目启动报错-案例情景介绍

    文章目录 摘要 情况1:Nacos报错 情况2:IllegalStateException: Incompatible fallbackFactory instance 情况3:idea编译java文 ...

  7. 【图文详解】SpringBoot项目启动报错:The bean ‘xxxServiceImpl‘ could not be injected as a ‘xxxServiceImpl‘ ...

    问题描述: 项目启动报错:The bean 'xxxServiceImpl' could not be injected as a 'cn.xxxx.service.xxxServiceImpl' b ...

  8. SpringBoot项目启动报错[类文件具有错误的版本 61.0, 应为 55.0 请删除该文件或确保该文件位于正确的类路径子目录中。]

    Web server failed to start. Port 80 was already in use. Web server failed to start. Port 80 was alre ...

  9. SpringBoot项目启动报错,java.lang.IllegalStateException: Ambiguous mapping.访问路径模棱两可,无法映射的问题!!!

    问题描述: SpringBoot项目刚启动就报错 下面是报错信息: 我这里提取了一下关键信息 Ambiguous mapping.(模棱两可的mapping) Cannot map 'test' me ...

最新文章

  1. 基于协同过滤算法实现选课推荐系统
  2. JSP页面中调用Spring Bean
  3. codevs 爱改名的小融
  4. Pytorch LSTM实例2
  5. python定制框架知识点_python框架中flask知识点总结
  6. 收银机服务器操作系统,第二章 超市收银机操作系统最终版.doc
  7. 技术部员工绩效考核方案
  8. 卫生统计学计算机操作教程第二版,卫生统计学spss中文教程.pdf
  9. Postman保存二进制流数据
  10. Android音视频基础知识
  11. CSS backdrop-filter 滤镜 毛玻璃效果
  12. 交易猫鲨鱼系统源码搭建
  13. 不会吧不会吧,不会有人连线程池都没听说过吧
  14. 软件构造之抽象相关知识总结
  15. 关于mysql彻底卸除问题
  16. html网页添加友链,如何为typecho添加独立友链页面
  17. 2022,Go终于出八股文了(附100例代码实例)
  18. NAS,IP SAN以及iSCSCI SAN存储的一些认识和理解
  19. 清理招投标不合理限制,电子招投标系统怎么遏制围串标行为?
  20. Nginx配置max_fails fail_timeout 不起作用

热门文章

  1. 利用C++实现简单的文件加密
  2. 用CSS画小猪佩奇,你就是下一个社会人!
  3. 无法登陆github官网的问题(能ping通但打不开网页)
  4. 青龙面板搭配诺兰nvjdc详细教程
  5. 如何制作运营高质量的竞价单页
  6. 9-vulnhub靶机-Tr0ll-ssh-rsa-private-环境变量-缓冲区溢出提权
  7. 场景文本检测算法 可微分二值化DBNet原理与代码解析
  8. c++刷题(3/100)数独,栈和队列
  9. 高等数学阶段复习, 函数极限, 连续, 导数,微分
  10. Bilibili到底有多少御坂妹?(三)