Java Neo4J REST API调用错误-读取为JSON“”时出错

Java Neo4J REST API调用错误-读取为JSON“”时出错,java,json,rest,neo4j,cypher,Java,Json,Rest,Neo4j,Cypher,这是一个与newo4j rest api调用相关的错误-在我的java代码中,我通过传递查询和参数对远程Neo4J数据库进行rest api调用,执行的查询如下 *MERGE (s:Sequence {name:'CommentSequence'}) ON CREATE SET s.current = 1 ON MATCH SET s.current=s.current+1 WITH s.current as sequenceCounter MERGE (cmnt01:Comment {text

这是一个与newo4j rest api调用相关的错误-在我的java代码中,我通过传递查询和参数对远程Neo4J数据库进行rest api调用,执行的查询如下

*MERGE (s:Sequence {name:'CommentSequence'}) ON CREATE SET s.current = 1 ON MATCH SET s.current=s.current+1 WITH s.current as sequenceCounter MERGE (cmnt01:Comment {text: {text}, datetime:{datetime}, type:{type}}) SET cmnt01.id = sequenceCounter WITH cmnt01 MATCH (g:Game {game_id:{gameid}}),(b:Block {block_id:{bid}, game_id:{gameid}}),(u:User {email_id:{emailid}}) MERGE (b)-[:COMMENT]->(cmnt01)<-[:COMMENT]-(u)*
为什么Neo4J查询不返回任何正确的错误代码?它只是表示读取JSON时出错

Neo4J版本是

Neo4j Community Edition 2.2.1
谢谢,
Deepesh

它返回HTML,不能将其作为JSON读取,但是应该输出失败的HTML。您可以检查日志输出并共享它吗


还要检查graph.db/messages.log和data/log/console.log是否有任何错误消息。

还要添加的是,pom.xml中的依赖项是最新的,即org.neo4j neo4j rest graphdb 2.0.1 Repo,如下mvn-neo4j m2.neo4j.org/content/groups/everythings Did在网上搜索各种帖子,但仍然无法找到关于这个问题的任何适当信息。
Neo4j Community Edition 2.2.1