IIRC orient-commons was merged into orientdb-core as part of 
https://github.com/orientechnologies/orientdb/issues/2828

if you remove orient-commons from your build script then it should work

-- 
Cheers, Stuart


On Friday, 2 January 2015 at 10:52, Aurelijus Banelis wrote:

> Hello,
> 
> My scala app is using OrientDb via Java API.
> 
> Newest version of OrientDb servers is 2.0-rc1.
> So, I tried updating orientdb-core and orientdb-graphdb to 2.0-rc1, but 
> newest orient-commons is only 2.0-M1 and is not compatible:
> 
> 
> libraryDependencies += "com.orientechnologies" % "orient-commons" % "2.0-M1"
> 
> libraryDependencies += "com.orientechnologies" % "orientdb-core" % "2.0-rc1"
> 
> libraryDependencies += "com.orientechnologies" % "orientdb-graphdb" % 
> "2.0-rc1"
> 
> libraryDependencies += "com.tinkerpop.blueprints" % "blueprints-core" % 
> "2.6.0"
> 
> try {
> new OrientGraphNoTx("memory:test")
> } catch {
> case e: ODatabaseException => 
> e.getCause.getCause.printStackTrace(System.err); throw e
> }
> 
> java.lang.NoSuchMethodError: 
> com.orientechnologies.common.concur.lock.ONewLockManager.acquireExclusiveLocksInBatch(Ljava/util/Collection;)V
> at 
> com.orientechnologies.orient.core.index.OIndexAbstract.lockKeysForUpdate(OIndexAbstract.java:467)
> at 
> com.orientechnologies.orient.core.index.OClassIndexManager.checkIndexedPropertiesOnCreation(OClassIndexManager.java:313)
> at 
> com.orientechnologies.orient.core.index.OClassIndexManager.checkIndexes(OClassIndexManager.java:581)
> at 
> com.orientechnologies.orient.core.index.OClassIndexManager.onRecordBeforeCreate(OClassIndexManager.java:423)
> ...
> 
> 
> With orientdb-core orientdb-graphdb 2.0-M3 all tests passes.
> So, I suppose, orientdb-core have 2.0-rc1 version, but not published to 
> http://search.maven.org/#search|ga|1|com.orientechnologies ?
> -- 
> 
> --- 
> 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] 
> (mailto:[email protected]).
> For more options, visit https://groups.google.com/d/optout.

-- 

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