You could also use this code to print the classpath: //Get the System Classloader ClassLoader sysClassLoader = ClassLoader.getSystemClassLoader();
//Get the URLs URL[] urls = ((URLClassLoader)sysClassLoader).getURLs(); *for*(*int *i=0; i< urls.length; i++) { System.out.println(urls[i].getFile()); } This might give a slightly more complete view of the paths from where classes are loaded. (if, for example you have added the Neo4j jar files in your Java extension library directory, they might not appear in the "java.class.path" property) From http://www.java-tips.org/java-se-tips/java.lang/how-to-print-classpath.html On Wed, Jun 9, 2010 at 2:09 PM, Johan Svensson <jo...@neotechnology.com>wrote: > What was the output of > "System.out.println(System.getProperty("java.class.path"));" as Tobias > asked you to do? > > On Wed, Jun 9, 2010 at 1:56 PM, Batistuta Gabriel > <batistutagabrielf...@gmail.com> wrote: > > However, I obtain this error : > > java.lang.NoSuchMethodError: > > org.neo4j.onlinebackup.AbstractResource.<init>(Lorg/neo4j/kernel/impl/ > > transaction/x > > aframework/XaDataSource;)V > > at > > org > > .neo4j > > .onlinebackup > > .EmbeddedGraphDatabaseResource > > .<init>(EmbeddedGraphDatabaseResource.java:31) > > at > org.neo4j.onlinebackup.Neo4jBackup.doBackup(Neo4jBackup.java:164) > > at util.BackupNeo4j.run(BackupNeo4j.java:49) > > > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Tobias Ivarsson <tobias.ivars...@neotechnology.com> Hacker, Neo Technology www.neotechnology.com Cellphone: +46 706 534857 _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user