[Error][Spring] org.mariadb.jdbc.Driver 오류
application.properies
에서 driver 부분이 인식을 못하고 빨간색으로 되어 있었고, 스프링부트 실행하면 오류가 떴다.
application.properies
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
에러 메세지
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSourceScriptDatabaseInitializer' defined
해결 방법
application.properies
에서 문장 끝 Driver 뒤에 공백이 있는 지 확인- 라이브러리가 아직 인식이 안된 경우 gradle refresh 하기
댓글남기기