Hi all,

I have neo4j imported into my eclipse and build my server script. But when 
I try to export it into jar file, some errors are constantly showing and I 
have no idea why that happens. My original server script just run fine. The 
error comes from the following instructions:

     GraphDatabaseService db = gdbf.newEmbeddedDatabaseBuilder(DB_PATH)
    .setConfig(GraphDatabaseSettings.cache_type, NoCacheProvider.NAME)
    .newGraphDatabase();

>From java -jar myapp.jar, the error is as follows:

Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.neo4j.onequery.Neo4jQuery.startDb(Neo4jQuery.java:108)
        at org.neo4j.onequery.Neo4jQuery.main(Neo4jQuery.java:42)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
        at 
org.neo4j.graphdb.factory.GraphDatabaseSettings.<clinit>(GraphDatabaseSettings.java:79)
        ... 2 more

Does anyone has idea what is happening?

Thanks!
Best Regards

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to