4.1.3
에서 업데이트 한
에 4.2.7
Neo4j 4.2 그래프의 repo 내가 받는다는 종속성을 변경 한 후 다시 실행 시작하는 내 프로젝트를 얻을 수 없었다, 지금은 모호한
입니다하지만.
이 튜토리얼에서 설명한대로 많은 문제가 수정되었습니다. https://graphaware.com/neo4j/2016/09/30/upgrading-to-sdn-42.html 그러나이 문제가 왜 발생했는지 알 수 없습니다. 내 서비스에서
> GenericService.java>createOrUpdate
...
@Override
public T createOrUpdate(T entity) {
getRepository().save(entity, DEPTH_ENTITY_NEXT); //ERROR LINE
if (entity instanceof Entity)
return find(((Entity) entity).getId());
else if (entity instanceof GraphType)
return find(((GraphType) entity).getId());
else
return find(((DataType) entity).getId());
}
...
getRepository 라인은 이제 다음과 같은 오류 제공 :
이The method save(T, int) is ambiguous for the type
GraphRepository<T>
단순히 그래프 REPO를 절약 erroring 될 것입니다.
난 그냥 일식이 오류가 표시에도 불구하고 프로젝트를 빌드 메이븐하려고하면 UPDATE. 이 오류를 인쇄합니다 :
Caused by: java.io.FileNotFoundException: class path resource [org/springframework/data/neo4j/config/Neo4jConfiguration.class] cannot be opened because it does not exist