yum配置中driver-class-name: com.mysql.jdbc.Driver报错 yum配置中driver-class-name: com.mysql.jdbc.Driver报错 错误: 原因: 解决方法:把方框中的<scope>runtime</scope>删掉