“java.lang.NoSuchMethodError:org.neo4j.kernel.impl.util.ArrayMap。<init>(BZZ)V”是什么意思?

时间:2017-05-14 18:18:18

标签: java eclipse neo4j

这是代码和错误。诊断中的第14行是主要的唯一一行。

import java.io.File;  
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.factory.GraphDatabaseFactory;   

public class testMain {

    public static void main(String[] args) {
        File x = new File("c:/temp/foo");
        //      GraphDatabaseService graphDb = new GraphDatabaseFactory().newEmbeddedDatabase( "c:/temp/foo" );
        GraphDatabaseService graphDb = new GraphDatabaseFactory().newEmbeddedDatabase( x );

    }
}


Exception in thread "main" java.lang.NoSuchMethodError: org.neo4j.kernel.impl.util.ArrayMap.<init>(BZZ)V
    at org.neo4j.kernel.impl.locking.community.RagManager.<init>(RagManager.java:72)
    at org.neo4j.kernel.impl.locking.community.CommunityLockManger.<init>(CommunityLockManger.java:34)
    at org.neo4j.kernel.impl.factory.CommunityEditionModule.createLockManager(CommunityEditionModule.java:247)
    at org.neo4j.kernel.impl.factory.CommunityEditionModule.<init>(CommunityEditionModule.java:104)
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:157)
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:124)
    at org.neo4j.graphdb.factory.GraphDatabaseFactory.newDatabase(GraphDatabaseFactory.java:133)
    at org.neo4j.graphdb.factory.GraphDatabaseFactory.newEmbeddedDatabase(GraphDatabaseFactory.java:126)
    at org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:101)
    at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:193)
    at org.neo4j.graphdb.factory.GraphDatabaseFactory.newEmbeddedDatabase(GraphDatabaseFactory.java:70)
    at testMain.main(testMain.java:14)

0 个答案:

没有答案