I have a web-service where the response includes an enum type:
@XmlEnum public enum CompetitionStatus {@XmlEnumValue("NEW") NEW }
In the browser I can acces the web-service without problems:
http://fgaucho.dyndns.org:8080/arena-http/competitionBut when I try to read the same URI with Jersey Client, I got:
java.lang.ClassFormatError: Absent Code attribute in method that is
not native or abstract in class file javax/persistence/EnumType
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
What is the problem ?
I included the EclipseLink jar in the classpath of the Jersey Client
but I continue with the same problem.
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...