java - Jackson object mapper exception -


I have written a CGM server there I Jackson object mapper (Not sure I used the library: Jackson-All 1.9 ). The following exception after running

org.codehaus.jackson.map.JsonMappingException: No serializer found for the search for classroom materials and a property BeanSerializer (to avoid exceptions, passive SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS))

this adds to disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS .

  ObjectMapper Mapper = New ObjectMapper (); Mapper Configurable (serializationfeature.fel_on_empTiBENs, incorrect);  

The compilation came again again.

SerializationFeature A variable can not be solved.

How to solve this? I think I used the wrong library

When I was a good example GCM server < Trying to use found in / p I had the same problem>

In addition to changing the key and ID, the only thing I had to do to add it to work was to change the " public class ... "line:

  @JsonAutoDetect (fieldVisibility = Visibility.ANY)  

May include Content.java and POST2GCM.java to go to the file it was all good! OK work!


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -