Monday, February 28, 2011

GWT with JPA

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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment