Hi All,
I have same problem with dependency between a JPA Project and a GWT
Project.
I have a JPA Project with the entity. In this project, I have the
communication between my object and my database.
And in an other side I have my GWT Project.

To build my different my project I use Maven.

To use my entity in the gwt project, I add a gwt.xml file in the
project JPA then I built it with maven to have my jar file!

In the GWT Project, I add a dependency on this jar. But when I compile
the GWT project with Maven I have this error :
  Errors in 'file:/...AcListBox.java'
     Line 124: No source code is available for type ..db.User; did you
forget to inherit a required module?
(Of course my class User is from the JPA Project)....

There is the JPAProject.gwt.xml :
<module>
  <inherits name='com.google.gwt.user.User'/>
  <source path="db"/>
</module>

and there is the GWTProject.gwt.xml :
<module>
      <inherits name='com.google.gwt.user.User'/>
      <inherits name='com.google.gwt.user.theme.standard.Standard'/>
      <inherits name='db'/>

      <entry-point class='Client.client.Application'/>

      <stylesheet src='Application.css' />
      <source path="client"/>

</module>


Have someone some idea to help me ?

-- 
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.

Reply via email to