我按照步驟maxdemarzi。我接受了這個example的csv數據。 但是,執行此命令時發生此錯誤。如何將csv文件導入到neo4j中NumberFormatException
java -server -Dfile.encoding=UTF-8 -Xmx4G -jar batch-import-jar-with-dependencies.jar neo4j/data/graph.db BeerNodes.csv BeerRelationships.csv
Usage: Importer data/dir nodes.csv relationships.csv [node_index node-index-name
fulltext|exact nodes_index.csv rel_index rel-index-name fulltext|exact rels_ind
ex.csv ....]
Using: Importer neo4j/data/graph.db BeerNodes.csv BeerRelationships.csv
Using Existing Configuration File
Importing 2351 Nodes took 0 seconds
Total import time: 2 seconds
Exception in thread "main" java.lang.NumberFormatException: For input string: "1
,10000,isa"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at org.neo4j.batchimport.Importer.id(Importer.java:195)
at org.neo4j.batchimport.Importer.id(Importer.java:163)
at org.neo4j.batchimport.Importer.importRelationships(Importer.java:129)
at org.neo4j.batchimport.Importer.doImport(Importer.java:214)
at org.neo4j.batchimport.Importer.main(Importer.java:78)
有什麼建議嗎?