2019年9月30日

springboot配置文件com.mysql.jdbc.Driver报红

摘要: 转载 https://www.cnblogs.com/oxspirt/p/7365282.html 第一次遇到,特此记录, yml文件Mysql驱动报红 原因是pom文件依赖scope 设置为了runtime 1.compile: 默认值 编译范围有效,在编译和打包时都会将依赖存储进去2.test: 阅读全文

posted @ 2019-09-30 21:40 Abefor 阅读(2373) 评论(0) 推荐(0)

导航