特牛生活网

springBoot搭建时遇到的坑之Failed to configure a DataSource解决一例_springboot 红色failed-CSDN博客

网友收藏
文章浏览阅读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