我正在尝试使用java批处理插入器的neo4j数据库,我得到以下错误消息:
>java -server -Xmx4G -jar target/batch-import-jar-with-dependencies.jar target/db nodes6.csv, rels5.csv
Using Existing Configuration File
Nodes file nodes6.csv, does not exist
Total import time: 0 seconds
Exception in thread "main" org.neo4j.graphdb.NotFoundException: id=4621
at org.neo4j.unsafe.batchinsert.BatchInserterImpl.getNodeRecord(BatchInserterImpl.java:915)
at org.neo4j.unsafe.batchinsert.BatchInserterImpl.createRelationship(BatchInserterImpl.java:468)
at org.neo4j.batchimport.Importer.importRelationships(Importer.java:108)
at org.neo4j.batchimport.Importer.main(Importer.java:63)
node6 .csv肯定存在,所以这是…让人困惑。
这里有2个错误,第一个是它无法找到你的node6 .csv文件,对我来说,它看起来像你输入了一个额外的,
文件名
你有什么:java -server -Xmx4G -jar target/batch-import-jar-with-dependencies.jar target/db nodes6.csv, rels5.csv
应该是这样吗:java -server -Xmx4G -jar target/batch-import-jar-with-dependencies.jar target/db nodes6.csv rels5.csv