2018. 3. 28. 14:47ㆍIT개발/Spring Boot & Spring Data Rest & JPA
일단 아래의 조합으로 해보니 해결되었다. 원인은 분석중이다...
pom.xml내
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.3.11.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>5.4.2.Final</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>1.2.0.RELEASE</version>
</dependency>
context-jpa-respository.xml 파일내
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa-1.2.xsd">
<jpa:repositories base-package="com"></jpa:repositories>
</beans>
참고자료 : https://stackoverflow.com/questions/16354112/getting-error-invalid-namespacehandler-class-org-springframework-data-jpa-reposi
'IT개발 > Spring Boot & Spring Data Rest & JPA' 카테고리의 다른 글
[Spring Data Rest] Query creation - 쿼리 생성 룰 (0) | 2018.04.27 |
---|---|
전자정부 3.7 버전에 JPA + Mybatis + Spring Data Rest 적용 (6) | 2018.04.03 |
JPA 사용시, 오라클 데이터타입과 자바 타입 관계 (0) | 2018.03.29 |
전자정부3.7 +Mybatis + JPA 조합시, txManager -▶ transactionManager 사용 (1) | 2018.03.28 |
Context initialization failed due to org.springframework.core.ResolvableTypeProvider (1) | 2018.03.28 |