Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] OSGI bundle class method mismatch

Have you tried `mvn dependency:tree -Dverbose` ? That can be useful for tracking down jar versions, although the plugin seems to have some slight inconsistencies.

On 05/22/2017 01:34 PM, David Boyd wrote:
All:

Somewhat off-topic but I am getting this error trying to build an OSGI bundle (for use with Karaf) of
accumulo and geomesa.

Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.accumulo.core.data.Range.exact(Lorg/apache/hadoop/io/Text;)Lorg/apache/accumulo/core/data/Range;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/locationtech/geomesa/accumulo/data/AccumuloMetadataAdapter$class, and the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) for the method's defining class, org/apache/accumulo/core/data/Range, have different Class objects for the type org/apache/hadoop/io/Text used in the signature
All our maven pom files specify the specific version of hadoop. Has anyone seen this issue and have any thoughts?





Back to the top