users@jaxb.java.net

Re: ValidationEvent class version problem: class file has wrong version 49.0, should be 48.0

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 08 Feb 2007 15:25:06 -0800

Anthony.Holland_at_barclayscapital.com wrote:
> When I try to compile I get the below error. Does anybody know what is
> going wrong please?

JAXB API requires JDK5, even if you use target="1.0" with XJC. If your
target environment is JDK1.4, you need to use JAXB RI 1.0.x.

Or, if you feel lucky, you can search the forum or the users list with
"retrotranslator" and see the magic of running JAXB RI 2.x on JDK 1.4.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com