*PROBLEM:*

Was creating an "exe" by exporting JAR and Runnable JARs thro eclipse..
 Using Launch4j to do that. and having proper manifest files with the
 class
 path too.. But i get the following error when i try to run the created
exe
 file.
 Caused by:
 java.Lang.
 ClassNotFoundException: org.neo4j.graphdb.GraphDatabaseService
 at java.net.URLClassLoader$1.run
 at java.security.AccessController.doPrivileged
 at java.net.URLClassLoader.findClass
 at java.Land.ClassLoader.loadClass
 at sun.misc.Launcher$AppClassLoader.loadClass
 at java.Lang.ClassLoader.loadClass

 Could not find the main class: <package name.Class name>
  is there a solution to this.??
 i had actually created an exe earlier which was working perfectly fine..
 Plz help!

 Thanks.



*RESOVLED!!

*Issue has been resolved.!

Had to manually import from the archives, the following files.


   -     org.graphdb.GraphDatabaseService and
   -     javax.transaction.TransactionManager.Class


as these weren't getting resolved automatically.

And. Had to get rid of* lucene.IndexIdIdentifier* and I couldn't import that
alone too! Had to even remove a few lines of code that were inherited from
the class too!

Could this error be rectified in any other way?

Regards,
Abhishek.
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to