Hi, I had the same problem a while ago and asked exactly the same question. Why don't jaxb annotations work? I remember reading somewhere that if things won't break if gwt cannot find annotation source files, but I'm not sure if I really read this or not. Well, I didn't get an answer to that question, but I did get a suggestion for how to make things work for me. I took the jaxb source code and put the annotation files to my project so gwt can compile them.
Pauli On 22 joulu, 22:59, Eric <[email protected]> wrote: > I have about 20 "model" classes that I use with GWT RPC and also > persist into a database using JPA. This is all working fine. On the > server side I need to do some XML processing and would like to use > some JAXB annotations on these model classes. However it complains > with: > > 15:26:47.005 [ERROR] [gwtui] Line 18: The import javax.xml.bind cannot > be resolved > > Is there any way of getting this to work? Why does it like my JPA > annotations just fine but reject the JAXB ones? > > How have other people structured their projects that use GWT, > databases and webservices? > > Thanks, > Eric -- 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.
