users@jaxb.java.net

Re: error "Type mismatch: cannot convert from XmlAccessType to AccessType"

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Wed, 9 Dec 2009 10:31:01 +0100

You are running JAXB runtime bundled with JDK 6 against JAva sources
compiled with
a much older JAXB's schema compiler xjc.

-W

PS: Checking the archive of this JAXB user's list might have given you this
answer.

PPS: Screenshots are nice, but the important info is hidden, i.e., the
comment header
of the generated Java source.


On Wed, Dec 9, 2009 at 3:21 AM, maven apache <apachemaven0_at_gmail.com> wrote:

> Hi:
> I have googled the problem show in the subject,however I have no idea about
> solving it.
> The error is shown in the image: http://imagebin.org/74674
> My jdk version is 6.0.
> I wonder why?
>
> Actually, I have another project which use the same java sources created by
> jaxb,there is no problem,I am surprised.
>
> Anyone can do me a favor?
>
>