users@jersey.java.net

Re: [Jersey] Absent Code attribute in method that is not native

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 14 Apr 2009 13:22:36 +0200

On Apr 14, 2009, at 1:16 PM, Felipe Gaścho wrote:

> 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 ?
>

I think that is because you are depending on stubbed javaee jar.

http://forums.java.net/jive/message.jspa?messageID=226931

Paul.

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>