0 Replies Latest reply on Feb 20, 2015 2:04 AM by kannanrkb

    Jboss Custom Modules Annotation is not Working

    kannanrkb

      Hi,

       

      Am providing my Api project as Jboss Custom Modules.

      In my Api am having some annotation. When am running it in my junit annotation is working fine as expected, But when i run it in server, annotations are not working.

       

      public class A {

         

         

          @JsonSerialize(include=JsonSerialize.Inclusion.NON_EMPTY)

          private String imageMIMEType;

          @JsonSerialize(include=JsonSerialize.Inclusion.NON_EMPTY)

          private String imageResolution;

          @JsonSerialize(include=JsonSerialize.Inclusion.NON_EMPTY)

          private String imageURL;

          @JsonSerialize(include=JsonSerialize.Inclusion.NON_EMPTY)

          private String imageData;

          @JsonSerialize(include=JsonSerialize.Inclusion.NON_EMPTY)

          private String id;

          @JsonSerialize(include=JsonSerialize.Inclusion.NON_EMPTY)

          private String path;

      }