본문 바로가기
개발자의 공부방/에러 일기

스프링부트 에러] Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource // feat.application.properties

by 쌈빡한 쥬니준 2020. 2. 25.

***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource:

    Property: driverclassname
    Value: com.mysql.cj.jdbc.Driver
    Origin: "driverClassName" from property source "source"
    Reason: Failed to load driver class com.mysql.cj.jdbc.Driver in either of HikariConfig class loader or Thread context classloader

Action:

Update your application's configuration


Process finished with exit code 1

===> application.properties 에서

spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/study?serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=1111

댓글0