Is there anyway I can ignore annotations on runtime, or maybe delete it when compiling. Or what mechanism can I use to get rid of JAXB annotations.
I'm developing an Android app, and the jar containing the model has JAXB annotations, so I need to use the same classes but with no annotations.
I'm using maven to compile and package, maybe there is a maven phase, or plugin to do this.
Thanks in advance
When I try to call a web service using rest, android look the annotations the class have, trying to instantiate the class mentioned in the annotation. There is when I got the exception of class not found.