Spring-Data-Neo4j:“;工厂法';typeRepresentationStrategyFactory&x27;抛出异常“;,空JSON
我对spring数据和neo4j还不熟悉,所以如果我的代码有什么不好的地方,请告诉我 我想将我的应用程序部署到heroku,但是我无法让远程neo4j连接正常工作。我试过了Spring-Data-Neo4j:“;工厂法';typeRepresentationStrategyFactory&x27;抛出异常“;,空JSON,neo4j,spring-data,spring-data-neo4j,Neo4j,Spring Data,Spring Data Neo4j,我对spring数据和neo4j还不熟悉,所以如果我的代码有什么不好的地方,请告诉我 我想将我的应用程序部署到heroku,但是我无法让远程neo4j连接正常工作。我试过了 远程连接到本地docker映像(在浏览器中工作) 本地服务器 Heroku附加组件(图表库) 遗憾的是,它们都给出了相同的结果,最重要的是: Factory method 'typeRepresentationStrategyFactory' threw exception; nested exception is ja
- 远程连接到本地docker映像(在浏览器中工作)
- 本地服务器
- Heroku附加组件(图表库)
Factory method 'typeRepresentationStrategyFactory' threw exception; nested exception is java.lang.RuntimeException: Error reading as JSON ''
您可以看到我的Neo4j弹簧配置(unit
profile用于单元测试),我的pom的一部分是
- Neo4j docker图像版本:2.3.3
- Neo4j本地版本:2.3.3
石墨实体模型(注释)我认为我的依赖项与Neo4j服务器不兼容 此外,唯一兼容的版本是neo4j的私有maven存储库 Luane(不是我)写的是一个很好的参考书,说明它应该是什么样子 如果你在这里,也去看看