users@glassfish.java.net

Absent Code attribute in method that is not native

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Tue, 14 Apr 2009 13:16:06 +0200

I created a set of types annotated both as JAXB elements and JPA
entities.. I can marshall the XML from the classes but I can't
unmarshall the XML back due to the following error:

java.lang.ClassFormatError: Absent Code attribute in method that is
not native or abstract in class file javax/persistence/FetchType
        at java.lang.ClassLoader.defineClass1(Native Method)

Any clue ?