250x250
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- PostgreSQL
- MySQL
- Tomcat
- myBatis
- Open Source
- git
- spring
- Exception
- jpa
- AJAX
- Python
- Thymeleaf
- ubuntu
- Eclipse
- Core Java
- Docker
- 설정
- SpringBoot
- oracle
- 오픈소스
- JDBC
- Source
- IntelliJ
- 문서
- STS
- Spring Boot
- MSSQL
- JavaScript
- maven
- error
Archives
- Today
- Total
헤르메스 LIFE
[Exception] java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter 본문
Exception
[Exception] java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
헤르메스의날개 2024. 8. 3. 17:17728x90
개발환경을 업그레이드 하던 중 아래와 같은 오류가 발생하였습니다.
JDK 11 -> JDK 17
Spring Boot 2.7.18 -> Spring Boot 3.2.4
java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
개발환경
Tools : STS 4.22.1.RELEASE
JDK : zulu17.72.19-jdk11.0.23
Framework : Spring Boot 3.2.4 & MyBatis
Database : PostgreSQL 16.3
Build : Maven
Doc : Swagger
Mybatis 버전도 같이 올려줘야 하는군요.
pom.xml (JDK 11 의 경우)
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.9.1</version>
</dependency>
pom.xml (JDK 17 의 경우)
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.9.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
출처 : https://5g-0.tistory.com/11
728x90
'Exception' 카테고리의 다른 글
[Error] Failed to retrieve application JMX service URL (0) | 2024.10.05 |
---|---|
[Exception] No static resource swagger-ui/index.html (0) | 2024.08.03 |
[Exception] Invalid value type for attribute 'factoryBeanObjectType': java.lang.String (0) | 2024.08.03 |
[Exception] No identifier specified for entity (0) | 2024.07.31 |
[Exception] Build failed with an exception (0) | 2024.07.31 |