Hello, we have a web app that sits in Tomcat and uses RestEasy 3.0.16.Final 
and Jackson 2.5.2. It's built once, using maven, and then deployed pretty 
much the same to a Windows 7 and a CentOS 7.2 machines.

Just in the last week, we've started to get ProcessingException errors on a 
couple of our dtos...

com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: 
Unrecognized field "date" (class ...), not marked as ignorable (0 known 
properties: ])
 at [Source: java.io.BufferedInputStream@44daddab; line: 1, column: 52] 
(through reference chain: ...["date"])

So for one of the dto's, I had to add 3 variables into 
@JsonIgnoreProperties and for the other, I had to add 
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY).

I don't know why this is. I can't think of anything that's changed in this 
area recently. Or why it happens only on Linux (all the required libraries 
are included on both, and they are exactly the same).

Could it be a JDK issue? Some difference in configuration of another 
component like RestEasy or Hibernate ?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to