
yml 파일을 작성하고 security 의존성을 추가하였다. 그리고 에러가 발생..하였다.... 🚨 에러 발생invocation of init method failed ; nested exception is org.hibernate.service.spi.serviceexception다음과 같은 오류가 발생했을 때는- H2 데이터베이스가 켜져 있는지 확인하고 안 켜져 있다면 H2 데이터 베이스를 켜준다.- application.yml 파일 확인 yml 파일 확인을 해 보았다.spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver위의 형태와 같이 작성이 되어 있었고 h2 속성은 작성되지 않았다. 문제의 이유는 아래와 같았다.Driver 클래..