This is the error:

and I have tried with 
javac -cp 
geronimo-jta_1.1_spec-1.1.1.jar:neo4j-kernel-2.1.7.jar:opencsv-2.3.jar:neo4j-kernel-2.1.7.jar:neo4j-primitive-collections-2.1.2.jar
 
Neo2.java


Exception in thread "main" java.lang.NoClassDefFoundError: 
org/neo4j/graphdb/RelationshipType
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2625)
at java.lang.Class.getMethod0(Class.java:2866)
at java.lang.Class.getMethod(Class.java:1676)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: 
org.neo4j.graphdb.RelationshipType
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:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)


On Tuesday, June 9, 2015 at 11:11:23 PM UTC+5:30, Anil Gautam wrote:
>
> is the problem solved? Because I am still facing the same error.
>
> On Tuesday, January 22, 2013 at 3:56:48 AM UTC+5:30, Michael Hunger wrote:
>>
>> can you list all that you've imported?
>>
>> neo4j-kernel.jar
>>
>> Michael
>>
>> Am 21.01.2013 um 07:28 schrieb Gouse:
>>
>> Hi, 
>>
>>  I am getting an error "*java.lang.ClassNotFoundException: 
>> org.neo4j.graphdb.RelationshipType*" while executing a program.I have 
>> imported all the neo4j jars and added all the neo4j jars in my classpath.Do 
>> i need to add any extra jars in my classpath or am i missing anu jars?.In 
>> which jar this class is present.
>>
>> Can someone please help me on this.
>>
>> Thanks in advance.
>>
>>
>> Thanks
>> Gouse.
>>
>> -- 
>>  
>>  
>>
>>
>>

-- 
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