스프링부트) 에러기록
새로운 환경에서 시작
sts4 및 oracle 11g 설치
git으로 다운받은 프로젝트
java.sql.SQLRecoverableException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
oracle CID : xe ?, orcl ?
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.MappingException: Could not instantiate id generator [entity-name=com.practise.jpa.entity.UserEntity]
ojdbc8의 오류. (맨 아래에 결과집합 어쩌구 있었음..) orai18n.jar 다운받기
oracle 11g여서 ojdbc6을 쓸것이기에
ojdbc6을 추가,
gradle: runtimeOnly 'com.oracle.database.jdbc:ojdbc8' 삭제
한번 겪어봐서 인지.. 너무 에러를 봐서 인지.. 금방 해결 했는데
나중에 혹시나 까먹을까봐 기록