Nay*_*ish 5 neo4j playframework spring-data-neo4j playframework-2.3
我目前正在使用Spring Data Neo4j 3.3.0和Play 2.3.8使用tuxburner插件并使用neo4j 2.1.7 DB远程工作.
我看到新的spring数据版本支持neo4j 2.2,我想升级到它.我将依赖项更改为新版本,并收到以下错误:
BeanCreationException: Error creating bean with name 'restNeo4jConfig': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframework.data.neo4j.config.Neo4jConfiguration.setGraphDatabaseService(org.neo4j.graphdb.GraphDatabaseService);
nested exception is java.lang.NoClassDefFoundError: org/neo4j/kernel/TransactionBuilder
Run Code Online (Sandbox Code Playgroud)
这似乎是一个老问题,应该在3.3.1中解决,因为neo4j 2.2改变了很多内部API,这个类不再存在.
也许我使用Spring Data的方式不再正确,需要更改.
我创建了一个示例播放应用程序来显示问题:https: //github.com/OlympusTeam/Olympus
| 归档时间: |
|
| 查看次数: |
158 次 |
| 最近记录: |