Title: Re: GWT and annotations from JAXB
Hi.
You have to include source code for mentioned classes into classpath (you can use <super-source path="jre"/> tag in your Module.gwt.xml to override java classes).
I've successfully integrated GWT and JAXB using this approach.
Thanks, Bina Prieto.
> I have seen a few posts on this and apparently there was a defect that
> was filed and fixed in 1.5. I am using GWT 2.0, but I still seem to
> have this issue.
> I have several class that are annotated with:
> import javax.xml.bind.annotation.XmlAccessType;
> import javax.xml.bind.annotation.XmlAccessorType;
> import javax.xml.bind.annotation.XmlElement;
> import javax.xml.bind.annotation.XmlType;
> But when I run GWT, I get these type of errors:
> Line 5: The import javax.xml.bind cannot be resolved
> I included the jar (I am pretty sure it is the right one) that has
> these annotations in the lib directory of my GWT project, so what else
> do I need to do?
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
- GWT and annotations from JAXB Arinté
- Re: GWT and annotations from JAXB Prieto-Ilarion Bianco
