- 链接地址:https://blog.csdn.net/jfztaq/article/details/119711163
- 链接标题:springBoot搭建时遇到的坑之Failed to configure a DataSource解决一例_springboot 红色failed-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:9498
文章浏览阅读167次。查了很多资料结果发现是红色部分不对,教程里的配置文件直接是class: jdbc改成如下就好了#数据库相关配置:spring: datasource: url: jdbc:p6spy:mysql://127.0.0.1:3306/book?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=CTT username: root password: 1234456._springboot 红色failed
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除