작성자 없음
작성자 정보가 삭제된 글입니다.
작성
·
261
0
안녕하세요. 김영한님.
두번째 복습 중에 에러가 발생했는데, 무엇을 수정해야할까요?
구글링해서 찾아본 후,
1. EntityManager, Id, GeneratedValue, GenerationType 모두 javax.persistence로 import
2. build.gradle dependencies에
implementation group: 'org.javassist', name: 'javassist', version: '3.15.0-GA' 추가
-> 1, 2 번 모두 해보았으나, 동일한 에러가 계속 발생합니다
에러
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: 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 org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
답변 1
0
안녕하세요. 천수병님, 공식 서포터즈 OMG입니다.
전체 프로젝트를 압축해서 구글 드라이브로 공유해서 링크를 남겨주세요.
구글 드라이브 업로드 방법은 다음을 참고해주세요. https://bit.ly/3fX6ygx
주의: 업로드시 권한 문제 꼭 확인해주세요 감사합니다.