neo4j-contrib / java-rest-binding

Java Bindings for the Neo4J Server REST API, providing an implementation of GraphDatabaseService
Other
120 stars 72 forks source link

2.0.1 conflict with neo4j-kernel's package version of org.neo4j.helpers.collection.WrappingResourceIterator #70

Open chilang opened 10 years ago

chilang commented 10 years ago

I'm getting

java.lang.IllegalAccessError: org/neo4j/helpers/collection/WrappingResourceIterator

in a project with neo4j 2.0.1. It looks like there is a version of org.neo4j.helpers.collection.WrappingResourceIterator in neo4j-kernel.jar which is package protected https://github.com/neo4j/neo4j/blob/master/community/kernel/src/main/java/org/neo4j/helpers/collection/WrappingResourceIterator.java

The kernel version gets picked up first and cause the error. Not sure which version is the original and what's the reason for the duplication?