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

根本原因就是数据库配置没有或者配置错误导致
 
Mybatis配置 database 没有对
或者项目环境没有配对,导致读取不到数据库配置
或者 yml 语法错误
Loading...
目录
文章列表
王小扬博客
Git
AI
产品
film
AI Code
Java
其他
计算机网络
DB
云原生
Node
Docker
操作系统
Elasticsearch
Apollo
Nestjs
Think
大前端
PHP
软件开发
设计
生活技巧
CI
缓存