Any help would be greatly appreciated. All info I have lookup up so far 
says there is some sort of version mismatch, but its all old and refers to 
v1.7 of orientdb.

Trying to connect from java using the following command:

OrientGraph g = new OrientGraph("remote:localhost/test", "admin", "admin");

I get the following error:

org.jboss.resteasy.spi.UnhandledException: 
java.lang.IncompatibleClassChangeError: Found interface 
com.orientechnologies.orient.core.metadata.OMetadata, but class was expected

Can connect from console using:

orientdb> connect remote:localhost/test admin admin

here is my pom:

<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orient-commons</artifactId>
<version>1.7.10</version>
</dependency>
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb-core</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>com.tinkerpop.blueprints</groupId>
<artifactId>blueprints-core</artifactId>
<version>2.6.0</version>
</dependency>
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb-graphdb</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb-client</artifactId>
<version>2.1.0</version>
</dependency>


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" 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