cancel
Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

Unable do load a 4.0.1 dump into a 4.0.2 db

irler_clesius
Node Clone

hello,
once more I have problems with the newest versions: Desktop 1.2.5, neo4j 4.0.2. on a new Windows 10 installation
Trying to load the dump from a 4.0.1 db I get in comd prompt:

C:\neo4j\neo4jDatabases\database-8ecfed3f-6559-4e7b-ad73-28f1ba51cbed\installation-4.0.2\import>../bin/neo4j-admin load --database=neo4j --from=./calc2-15-mar-2020.15.50.neo4j --force
Exception in thread "main" java.lang.IllegalAccessError: tried to access method com.neo4j.dbms.commandline.StoreCopyCommand$SourceOption.<init>()V from class com.neo4j.dbms.commandline.StoreCopyCommand
        at com.neo4j.dbms.commandline.StoreCopyCommand.<init>(StoreCopyCommand.java:51)
        at com.neo4j.dbms.commandline.StoreCopyCommandProvider.createCommand(StoreCopyCommandProvider.java:18)
        at com.neo4j.dbms.commandline.StoreCopyCommandProvider.createCommand(StoreCopyCommandProvider.java:12)
        at org.neo4j.cli.AdminTool.registerCommands(AdminTool.java:86)
        at org.neo4j.cli.AdminTool.execute(AdminTool.java:69)
        at org.neo4j.cli.AdminTool.main(AdminTool.java:58)

C:\neo4j\neo4jDatabases\database-8ecfed3f-6559-4e7b-ad73-28f1ba51cbed\installation-4.0.2\import>java --version
java 11-ea 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11-ea+8)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11-ea+8, mixed mode)

There is my java version, too. Is it too high? Where is my or neo4j's error?
Neo4j Desktop 1.2.5 and new db came without problems
BTW., in Powershell I always got java not found
WJI

0 REPLIES 0