在我的代码中,我使用了Neo4jTemplate (在我的服务中使用了@Autowired)以及GraphRepository和RelationshipOperationsRepository。' is defined
然后我尝试从我的服务中删除@Autowired Neo4jTemplate,使用@Autowired private SpringRestGraphDatabase graphDB并以private Neo4jTemplate template = new Neo4jTemplate((Graph