users@jaxb.java.net

Re: No class generated for element with type="int" (xjc)

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Tue, 11 Mar 2008 09:23:14 +0100

Hi.
> thanx for your pointer! Unfortunately, activating simple-minded mode for
> xjc doesn't change anything for me - there's still no class generated
> for myElement. Should this be the case, or is it expected, that only the
> ObjectFactory provides createMyElement?
>
> Btw. I changed the jaxb:version to "2.0", as I already have another
> globalBindings that used jaxb:version="2.0" (I don't know if it does
> matter).
>
> So my issue is, that no class at all is generated for myElement.
>
> Anything else?

Please try annotating myElement with <jaxb:class name="MyElement"/>.

Bye.
/lexi