users@jaxb.java.net

Re: java.lang.IncompatibleClassChangeError and JDK versions

From: Dmitri Colebatch <dim_at_colebatch.com>
Date: Thu, 18 May 2006 07:59:32 +1000

Hi,

On 5/18/06, William Press <wpress_at_bea.com> wrote:

> When we try to build using JDK 1.4.2, we get an error saying that the
> version in the class files is "49", where it should be "48".

You sound like you already know this, but that's the error message you
get when trying to use 1.5 classes in a 1.4 environment. My guess is
the problem has nothing to do with the generated code, but is to do
with the fact that jaxb2 _requires_ 1.5 and it is in fact the jaxb
classes that the error message relates to.

I have seen posts about running jaxb2 on 1.4, but can't remember details sorry.

cheers
dim