jurmous / etcd4j

Java / Netty client for etcd, the highly-available key value store for shared configuration and service discovery.
Apache License 2.0
267 stars 83 forks source link

Got exception when i try to use etcd4j v2.13.0 in Apache Felix v5.6.1 #163

Closed cmukunda closed 6 years ago

cmukunda commented 6 years ago

I got an exception when i try to use etcd4j v2.13.0 in Apache Felix v5.6.1. The exception is as below.

com.fasterxml.jackson.databind.JsonMappingException: Failed to load class 'mousio.etcd4j.responses.EtcdKeysResponse$Access4JacksonDeserializerba7d7b73': com.fasterxml.jackson.module.afterburner.deser.BeanPropertyMutator at [Source: io.netty.buffer.ByteBufInputStream@1ef30b47; line: 1, column: -1] at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:305)

The file com.fasterxml.jackson.module.jackson-module-afterburner_2.8.6.jar does exists in the class path.

cmukunda commented 6 years ago

My bad, It was my maven config issue. got this resolved.