0
與HA嵌入式它給我的罐子錯誤我包括Neo4j的服務器在我的項目,但它應該需要使用Neo4j的
錯誤代碼是以下
java.lang.NoClassDefFoundError: org/neo4j/com/Server$Configuration
at org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.createIdGeneratorFactory(HighlyAvailableGraphDatabase.java:437)
at org.neo4j.kernel.InternalAbstractGraphDatabase.create(InternalAbstractGraphDatabase.java:480)
at org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.create(HighlyAvailableGraphDatabase.java:168)
at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:304)
at org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.<init>(HighlyAvailableGraphDatabase.java:157)
at org.neo4j.graphdb.factory.HighlyAvailableGraphDatabaseFactory$1.newDatabase(HighlyAvailableGraphDatabaseFactory.java:47)
at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:197)
at com.migrate.work.Migrate.sample(Migrate.java:18)
at com.migrate.work.Migrate.main(Migrate.java:51)
Caused by: java.lang.ClassNotFoundException: org.neo4j.com.Server$Configuration
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 9 more
我添加的所有jar但誤差剩餘。 – user3359503