【发布时间】:2016-08-09 04:21:46
【问题描述】:
我是 spring-data 和 neo4j 的新手,所以如果我的代码有什么不好的地方请说。
我想将我的应用程序部署到 heroku,但是我无法使远程 neo4j 连接正常工作。我试过了
- 远程连接到本地 docker 映像(在浏览器中工作)
- 本地服务器
- Heroku 插件(Graphstory)
可悲的是,他们都给出了相同的exception,最重要的是:
Factory method 'typeRepresentationStrategyFactory' threw exception; nested exception is java.lang.RuntimeException: Error reading as JSON ''
您可以看到我的 Neo4j Spring 配置 here(unit 配置文件用于单元测试)并且我的部分 pom 是 here。
- Neo4j docker 镜像版本:2.3.3
- Neo4j 本地版本:2.3.3
GraphEntity 模型(评论)here
【问题讨论】:
标签: neo4j spring-data spring-data-neo4j