Remove the orient-commons dependency as it’s not required in 2.0.5 (its content 
was merged into orientdb-core) and having it there is hiding the updated 
classes in orientdb-core

On Wednesday, 25 March 2015 at 07:35, NewUser wrote:

> Hi I am facing this exception while loading a .nt file into orientDB using 
> the SailLoader 
> (https://github.com/tinkerpop/blueprints/blob/master/blueprints-graph-sail/src/main/java/com/tinkerpop/blueprints/oupls/sail/SailLoader.java)
>  by tinkerpop:
>  
> 15373829 statements out of 15373833 get loaded and only then I encounter this 
> exception. I have seen in some discussion where Lvca commented that it could 
> be because of conflicting jars. I am using maven for dependency management so 
> I have also attached a copy of the pom file:
>  
> The exception:
>  
> loaded 15373829 statements in 9594289ms
>  
> Exception in thread "main" java.lang.NoSuchMethodError: 
> com.orientechnologies.common.concur.resource.OResourcePool.getAllResources()Ljava/util/Collection;
> at 
> com.orientechnologies.orient.client.remote.ORemoteConnectionManager.closePool(ORemoteConnectionManager.java:194)
> at 
> com.orientechnologies.orient.client.remote.ORemoteConnectionManager.closePool(ORemoteConnectionManager.java:190)
> at 
> com.orientechnologies.orient.client.remote.OStorageRemote.close(OStorageRemote.java:302)
> at 
> com.orientechnologies.orient.core.storage.OStorageAbstract.close(OStorageAbstract.java:95)
> at 
> com.orientechnologies.orient.client.remote.OStorageRemoteThread.close(OStorageRemoteThread.java:195)
> at 
> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.close(ODatabaseDocumentTx.java:1082)
> at 
> com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.shutdown(OrientBaseGraph.java:1152)
> at 
> com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.shutdown(OrientBaseGraph.java:1124)
> at 
> com.tinkerpop.blueprints.oupls.sail.GraphSail.shutDownInternal(GraphSail.java:171)
> at org.openrdf.sail.helpers.SailBase.shutDown(SailBase.java:230)
>  
> at com.master.thesis.Load.main(Load.java:54)
>  
>  
> Major dependencies from the pom:
>  
> <dependency>
>         <groupId>com.tinkerpop.blueprints</groupId>
>         <artifactId>blueprints-graph-sail</artifactId>
>         <version>2.6.0</version>
> </dependency>
>  
> <dependency>
>         <groupId>com.tinkerpop.blueprints</groupId>
>         <artifactId>blueprints-sail-graph</artifactId>
>         <version>2.6.0</version>
> </dependency>
> <dependency>
>         <groupId>com.tinkerpop.blueprints</groupId>
>         <artifactId>blueprints-core</artifactId>
>         <version>2.6.0</version>
> </dependency>
> <dependency>
>         <groupId>org.openrdf.sesame</groupId>
>         <artifactId>sesame-repository-sail</artifactId>
>         <version>2.7.15</version>
> </dependency>
> <dependency>
>         <groupId>org.openrdf.sesame</groupId>
>         <artifactId>sesame-runtime</artifactId>
>         <version>2.7.15</version>
> </dependency>
> <dependency>
>         <groupId>org.xerial.snappy</groupId>
>         <artifactId>snappy-java</artifactId>
>         <version>1.1.1.6</version>
> </dependency>
> <dependency>
>         <groupId>org.slf4j</groupId>
>         <artifactId>slf4j-simple</artifactId>
>         <version>1.7.10</version>
> </dependency>
> <dependency>
>         <groupId>com.orientechnologies</groupId>
>         <artifactId>orient-commons</artifactId>
>         <version>2.0-M1</version>
> </dependency>
> <dependency>
>         <groupId>com.orientechnologies</groupId>
>         <artifactId>orientdb-graphdb</artifactId>
>         <version>2.0.5</version>
> </dependency>
> <dependency>
>         <groupId>com.orientechnologies</groupId>
>         <artifactId>orientdb-core</artifactId>
>         <version>2.0.5</version>
> </dependency>
> <dependency>
>         <groupId>com.orientechnologies</groupId>
>         <artifactId>orientdb-client</artifactId>
>         <version>2.0.5</version>
> </dependency>
> <dependency>
>         <groupId>com.orientechnologies</groupId>
>         <artifactId>orientdb-enterprise</artifactId>
>  
>         <version>2.0.5</version>
>  
> </dependency>
>  
> I have been stuck here for a week trying to change the depedency versions any 
> suggestions or guidance would be a great help!!  
>  
> --  
>  
> ---  
> 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.
>  
> Attachments:  
> - pom.rtf
>  


-- 

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