JDK 11에 java.xml.bind 관련 에러 발생
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext
build.gradle 에서
implementation ‘javax.xml.bind:jaxb-api’ 추가
참고
: https://luvstudy.tistory.com/61#recentComments
JDK 11에서 java.xml.bind 관련 에러 발생하는 경우
JDK 9나 10에서 프로젝트 실행 시 아래와 같은 오류가 나게 되는 경우가 있다. Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext Java EE 모듈과 CORBA 모듈이 Deprecated 되면서 기본 참조가 되지 않
luvstudy.tistory.com
'Spring > 99.Error' 카테고리의 다른 글
[Spring Boot] ASM ClassReader failed to parse class file 에러 (0) | 2023.09.20 |
---|---|
[Spring Boot] Intelliji와 Gradle 세팅시 Unable to find method 에러 해결 (0) | 2023.09.20 |
Spring Boot) could not initialize proxy - no Session 에러 해결 (0) | 2023.05.11 |
@Builder 어노테이션 사용시 필드 초기화 에러 해결 방법 (0) | 2023.05.06 |
Spring Boot JUnit Test: JPA metamodel must not be empty 에러 해결 (0) | 2023.04.29 |