-
JAVA 11사용시 java.lang.NoClassDefFoundError: javax/xml/bind/JAXBExceptionSPRING 공부/오류잡기 2022. 3. 17. 02:31
JAVA 11버전에서 javax 라이브러리를 내장하고 있지 않기 때문에 의존성 추가를 해주어야한다.
인프런 김영한이사님의 강의에서는 JAVA 8 버전을 사용하고 있기 때문에 문제가 없었다.
<dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.3.0</version> </dependency>
를 pom.xml에 추가해주자!
'SPRING 공부 > 오류잡기' 카테고리의 다른 글
SPRING JPA 사용중 JpaSystemException, org.hibernate.exception.GenericJDBCException: could not execute statement (0) 2022.06.24