0 Replies Latest reply on Oct 8, 2018 4:01 AM by gmgallo

    Resteasy with wildfly14: not all fields are returned

    gmgallo Newbie

      Hi

       

      I'm migrating my application from wildfly 10 to wildfly 14 and I'm using resteasy 3.1.4 with jackson2.

      I have a strange behaviour with the response of some rest services: not all the fields are returned (and I'm sure they're extracted from mongodb). The only warning I see when deploying my application is:

      WFLYRS0018: Explicit usage of Jackson annotation in a JAX-RS deployment; the system will disable JSON-B processing for the current deployment. Consider setting the 'resteasy.preferJacksonOverJsonB' property to 'false' to restore JSON-B.

       

      In the response I have two classes:

      public class Field implements Serializable {

       

        private static final long serialVersionUID = -230381150649916138L;

       

        private String name; // returned in response

        private FieldsTypeEnum type; // NOT returned in response

        private List<String> comboValues; // NOT returned in response

        private boolean required; // NOT returned in response

       

           //All getters and setters

       

      }

       

      public class ConfigurationField extends Field {

       

        private static final long serialVersionUID = -2727277793405725817L;

       

        private Integer row; // returned in response

        private boolean useForCalendar; // returned in response

       

           //All getters and setters

       

      }

       

      Any help or suggest or idea is really appreciated

       

      Thanks