728x90
![[JWT] java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter [JWT] java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
에러 상황
로그인 API를 호출하여 성공 시 JWT를 발급하는 로직을 구현하던 중 다음과 같은 에러가 발생했다.
에러 코드
java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
해결 방법
Spring Boot 프레임워크 사용 시 해당 dependency를 추가로 설치해주면 에러가 해결된다.
implementation 'javax.xml.bind:jaxb-api:2.3.0'
참고 사이트
https://jminie.tistory.com/123
JDK 11에서 java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter 에러
🚨 에러 발생 로그인 API에서 JWT를 이용해서 회원 인증을 구현하는 중에 다음과 같은 에러와 마주쳤다. javax.xml.bind.DatatypeConverter 를 찾지 못하면서 발생한 에러였다. JDK 11 이 되면서 Java EE와 CORBA...
jminie.tistory.com
728x90
'🛠️Backend > 오류해결' 카테고리의 다른 글
[Thyme Leaf] org.thymeleaf.exceptions.templateinputexception: error resolving template 오류 (0) | 2024.12.20 |
---|---|
[Firebase] Requested entity was not found. (0) | 2024.11.12 |
[IntelliJ] The file size exceeds the configured limit. (0) | 2024.07.24 |
[IntelliJ] error: unmappable character (0xEB) for encoding x-windows-949 (0) | 2024.07.17 |
[Java] Gradle을 이용한 순수 자바에서 jar파일 생성하기 (0) | 2024.06.04 |
댓글