I think you need to check it first, because the error indicates jdk/jvm
differences, here is how:

The first 4 bytes are a magic number, 0xCAFEBABe, to identify a valid class
file then the next 2 bytes identify the class format version (major and
minor).
Possible major/minor value :

major  minor Java platform version 
45       3           1.0
45       3           1.1
46       0           1.2
47       0           1.3
48       0           1.4
49       0           1.5
50       0           1.6

http://www.rgagnon.com/javadetails/java-0544.html

Chris


-----Original Message-----
From: stlecho [mailto:[email protected]] 
Sent: Wednesday, 19 May 2010 9:50 PM
To: [email protected]
Subject: Re: ClassFormatError when using Enhancement Builder


The Java version I'm using in Eclipse is JDK1.6 and this is the only one
installed. I suppose that the Enhancement plugin uses the same one. I've
been doing several times "Clean Project", but this does not solve the
problem. 

Using the OpenJPA Enhancher Agent option works perfectly, so I suppose that
the configuration and code annotations are correct.

Do you have any further ideas ?


Jean-Baptiste BRIAUD -- Novlog wrote:
> 
> You might had enhanced using one JDK version and compile or run classes
> using one another.
> 

-- 
View this message in context:
http://openjpa.208410.n2.nabble.com/ClassFormatError-when-using-Enhancement-
Builder-tp5074201p5074573.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to