• 로그인
  • 장바구니에 상품이 없습니다.

home2 게시판 Spring 게시판 오라클 연동이 안되네요...

오라클 연동이 안되네요...

2 글 보임 - 1 에서 2 까지 (총 2 중에서)
  • 글쓴이
  • #126481

    김민서
    참가자
    오라클정보_1
    구글만 두시간째 뒤지고 있는데 계속 에러가 나요...
    이렇게 설정 하는거 아닌가요..?ㅠ
    
    오라클정보_2
    아무것도 안만들고 딱 이렇게만 셋팅하고 서버 돌려보면 에러납니다...ㅠ
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver 
    
    
    
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Failed to initialize dependency 'dataSourceScriptDatabaseInitializer' of LoadTimeWeaverAware bean 'entityManagerFactory': Error creating bean with name 'dataSourceScriptDatabaseInitializer' defined in class path resource [org/springframework/boot/autoconfigure/sql/init/DataSourceInitializationConfiguration.class]: Unsatisfied dependency expressed through method 'dataSourceScriptDatabaseInitializer' parameter 0: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception with message: Cannot load driver class: oracle.jdbc.driver.OracleDriver
     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:326) ~[spring-beans-6.1.8.jar:6.1.8]
    
    혹시 오라클로 하시는 분들 계신가요..??
    #126502

    codingapple
    키 마스터
    DB켜있나 확인해보고 build.gradle 파일에 runtimeOnly 'com.oracle.database.jdbc:ojdbc8' 추가해서 설치해봅시다
2 글 보임 - 1 에서 2 까지 (총 2 중에서)
  • 답변은 로그인 후 가능합니다.

About

현재 월 700명 신규수강중입니다.

  (09:00~20:00) 빠른 상담은 카톡 플러스친구 코딩애플 (링크)
  admin@codingapple.com
  이용약관, 개인정보처리방침
ⓒ Codingapple, 강의 예제, 영상 복제 금지
top

© Codingapple, All rights reserved. 슈퍼로켓 에듀케이션 / 서울특별시 강동구 고덕로 19길 30 / 사업자등록번호 : 212-26-14752 온라인 교육학원업 / 통신판매업신고번호 : 제 2017-서울강동-0002 호 / 개인정보관리자 : 박종흠