-스프링 부트 datasource를 오라클로 설정한뒤 구동시 에러 발생
[에러 로그]
Application run failed
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'quartzDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/quartz/QuartzAutoConfiguration$JdbcStoreTypeConfiguration.class]:
Invocation of init method failed; nested exception is java.lang.RuntimeException: Driver net.sf.log4jdbc.sql.jdbcapi.DriverSpy claims to not accept jdbcUrl
✔ Solution
build.gradle 파일에 아래 내용을 추가하여 해결// JDBC 오라클 드라이버 runtimeOnly 'com.oracle.database.jdbc:ojdbc8'
반응형