I think you need the jpa sources in your classpath. Juan
2011/2/28 FritzTheCat <[email protected]> > Hi people, > > i try to use gwt 2.2 with JPA. For this I use the @Entity annotation > in my shared folder and i get the error message: > The import javax.persistence cannot be resolved, Entity cannot be > resolved to a type. For me it is clear that something is missing in > the .gwt.xml file and I found the rpc enhanced feature but I don't > know how to include those classes. I used the following "<define- > configuration-property name="rpc.enhancedClasses" is-multi- > valued="true"/>" in my .gwt.xml file but I also have to define my > @Entity annotated classes. So how must the be defined in the .gwt.xml > file? Any help is appreciated, > > thank you and nice greetings > > -- > 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. > > -- 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.
