같은 스프링 부트 응용 프로그램에서 spring-data-mongodb와 spring-data-neo4j를 어떻게 사용합니까?spring-data-mongodb와 spring-data-neo4j를 함께 사용
내가 쉽게 하나 "시작하기"가이드 다음 다른,하지만 사용할 수 있습니다 최대한 빨리 그때 런타임 오류와 같은 얻을 MongoDB를 응용 프로그램에 Neo4J을 추가하려고 같이 나 '
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'application': Unsatisfied dependency expressed through field 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bookRepository': Invocation of init method failed; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property findAll found for type MongoBook!
설정 최소 예제 https://github.com/afaulconbridge/myspring-mongo-neo
봄 데이터 예제에서 확인하십시오. https://github.com/spring-projects/spring-data-examples/tree/master/multi-store. 이 예제는 다중 스프링 데이터 모듈이 함께 작동하는 방법에 대한 통찰력을 제공합니다. – Veeram
스프링 데이터 MongoDB와 Neo4J가 동일한 패키지를 스캔하도록 강요하고 있습니까? 그렇다면 [이 오류] (https://jira.spring.io/browse/DATAES-57)가 표시됩니다. 링크 된 게시물은 문제를 해결하는 방법을 설명합니다. – manish