What is the package of entity.User ? Are you put in client package?
Juan
2011/3/30 zoejules ngspki...@gmail.com
I am working with GWT 2.2, JPA, Java EE 6 Web, glassfish v3. My
problem is that I receive the following error if I use my entity in an
RPC call: No source code is available for
It is in another project (EJB Module Project).
On Mar 31, 1:28 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com
wrote:
What is the package of entity.User ? Are you put in client package?
Juan
2011/3/30 zoejules ngspki...@gmail.com
I am working with GWT 2.2, JPA, Java EE 6 Web,
If you want use it in client side, you must define a module in the ejb
module and in the war proyect, use it. For example:
ejb
- MyModule.gwt.xml: In this file, you put the package where you have the
entities
war
- MyWar.gwt.xml: There you inherit for MyModule.gwt.xml to gwt compile can
find the
I tried but Netbeans 6.9.1. said that I can not create gwt module in a
non-gwt project.
I solved this way: I deleted my ejb project and I create my session
bean and entity class in the gwt project. (And I added the EclipseLink
(JPA 2.0) library to the classpath because of the annotations.) And of
Ok, but the error is relationate with netbeans IDE, no gwt. You can make a
simple jar with only entity class. This jar define the xml and is used by
the war and the ejb project. Best modularizate.
Juan
2011/3/31 ngspk ngspki...@gmail.com
I tried but Netbeans 6.9.1. said that I can not create