michel-kraemer/bson4jackson — pull request #34 by adrianchia (2013-11-25 22:41:36+00:00)
Title: Jackson 2.3.x

Hi, when I was testing with Jackson 2.3.0 (jackson-jaxrs-json-provider) with bson4jackson 2.2.3 it is throwing the following error due to a class missing. By updating the version to 2.3.0 in bson4jackson build.gradle or excluding jackson-annotations from bson4jackson maven dependency it is working fine.

> java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonPropertyDescription
at com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector.findPropertyDescription(JacksonAnnotationIntrospector.java:492)
at com.fasterxml.jackson.databind.introspect.POJOPropertyBuilder$5.withMember(POJOPropertyBuilder.java:425)
at com.fasterxml.jackson.databind.introspect.POJOPropertyBuilder$5.withMember(POJOPropertyBuilder.java:422)
at com.fasterxml.jackson.databind.introspect.POJOPropertyBuilder.fromMemberAnnotations(POJOPropertyBuilder.java:734)
at com.fasterxml.jackson.databind.introspect.POJOPropertyBuilder._findDescription(POJOPropertyBuilder.java:422)
at com.fasterxml.jackson.databind.introspect.POJOPropertyBuilder.getMetadata(POJOPropertyBuilder.java:403)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory._constructWriter(BeanSerializerFactory.java:737)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.findBeanProperties(BeanSerializerFactory.java:590)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.constructBeanSerializer(BeanSerializerFactory.java:377)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.findBeanSerializer(BeanSerializerFactory.java:272)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:217)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:152)
at com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1077)
at com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1037)
at com.fasterxml.jackson.databind.SerializerProvider.findValueSerializer(SerializerProvider.java:445)
at com.fasterxml.jackson.databind.SerializerProvider.findTypedValueSerializer(SerializerProvider.java:599)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:93)
at com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:2811)
at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsString(ObjectMapper.java:2268)