Failed to load driver class com.microsoft.sqlserver.jdbc.SQLServerDriver from HikariConfig

问题描述:
Description:

Failed to bind properties under ‘eureka.client.service-url’ to java.util.Map:

Reason: No converter found capable of converting from type [java.lang.String] to type [java.util.Map]

Action:

Update your application’s configuration

问题分析: 数据库版本没有指定或者yml文件出问题
1.在pom文件中加入${mysql.version}



    mysql
    mysql-connector-java
    ${mysql.version}

Failed to load driver class com.microsoft.sqlserver.jdbc.SQLServerDriver from HikariConfig_第1张图片
2.查看yml文件,没有在defaultZone前边加俩空格
没有在defaultZone前边加俩空格
3.问题解决
Failed to load driver class com.microsoft.sqlserver.jdbc.SQLServerDriver from HikariConfig_第2张图片

你可能感兴趣的:(Failed to load driver class com.microsoft.sqlserver.jdbc.SQLServerDriver from HikariConfig)