Written by
spring-style
on
on
[JPA] 2. JPA시작하기
[JPA] 2. JPA시작하기
강의 시작한지 5분도 안되서... 환경설정 에러가 우다다 나타났다
내 환경은
윈도우10
jdk 11
maven
hibernate 5.3.10.Final
h2: 1.4.200
에러1.
java: error: release version 5 not supported
Maven에서는 자동으로 버전을 잡기 때문에, 다르게 버전을 수정해주어야
https://zion830.tistory.com/114
에러2:
INFO: HHH000206: hibernate.properties not found
java.lang.NoClassDefFoundError:com.fasterxml.classmate.TypeResolver
https://www.inflearn.com/questions/13985
https://www.inflearn.com/questions/196595
https://www.inflearn.com/questions/19302
==> 결론: pom.xml에 아래를 전부 추가
org.apache.maven.plugins maven-compiler-plugin 3.8.1 8 8 javax.xml.bind jaxb-api 2.3.0 org.hibernate.validator hibernate-validator 7.0.1.Final
출처: 인프런, 김영한 자바 ORM 표준 JPA 프로그래밍 - 기본편
from http://huyncolog.tistory.com/4 by ccl(A) rewrite - 2021-06-30 23:00:45