springboot项目启动报错 url‘ attribute is not specified and no embedded datasource could be configured
使用依赖
<!-- 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相关推荐
- 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 ...
- SpringBoot项目启动报错:Field userMapper in com.demo.controller.MemberController required a bean of type ‘c
问题描述: SpringBoot项目启动报错,报错内容:'com.xxx.mapper.XxxxMapper' that could not be found ******************** ...
- 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 ...
- idea软件 springboot项目启动报错:命令行太长解决
idea软件 springboot项目启动报错:命令行太长解决 1.找到项目下得.idea文件夹,打开文件workspace.xml 2.搜索标签 <component name="P ...
- 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. ...
- springboot项目启动报错-案例情景介绍
文章目录 摘要 情况1:Nacos报错 情况2:IllegalStateException: Incompatible fallbackFactory instance 情况3:idea编译java文 ...
- 【图文详解】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 ...
- 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 ...
- SpringBoot项目启动报错,java.lang.IllegalStateException: Ambiguous mapping.访问路径模棱两可,无法映射的问题!!!
问题描述: SpringBoot项目刚启动就报错 下面是报错信息: 我这里提取了一下关键信息 Ambiguous mapping.(模棱两可的mapping) Cannot map 'test' me ...
最新文章
- 基于协同过滤算法实现选课推荐系统
- JSP页面中调用Spring Bean
- codevs 爱改名的小融
- Pytorch LSTM实例2
- python定制框架知识点_python框架中flask知识点总结
- 收银机服务器操作系统,第二章 超市收银机操作系统最终版.doc
- 技术部员工绩效考核方案
- 卫生统计学计算机操作教程第二版,卫生统计学spss中文教程.pdf
- Postman保存二进制流数据
- Android音视频基础知识
- CSS backdrop-filter 滤镜 毛玻璃效果
- 交易猫鲨鱼系统源码搭建
- 不会吧不会吧,不会有人连线程池都没听说过吧
- 软件构造之抽象相关知识总结
- 关于mysql彻底卸除问题
- html网页添加友链,如何为typecho添加独立友链页面
- 2022,Go终于出八股文了(附100例代码实例)
- NAS,IP SAN以及iSCSCI SAN存储的一些认识和理解
- 清理招投标不合理限制,电子招投标系统怎么遏制围串标行为?
- Nginx配置max_fails fail_timeout 不起作用