You should move your classes out of the package 'client'. This is because 
GWT consider it by default as a source package, so the compiler will search 
for source code to translate Java into Javascript.

http://code.google.com/intl/it-IT/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideModules

Regards

--------------------------------------------------
From: "lily" <[email protected]>
Sent: Saturday, August 29, 2009 9:01 PM
To: "Google Web Toolkit" <[email protected]>
Subject: Did you forget to inherit a required module? about jdo

>
> When i call
>  private static final PersistenceManagerFactory PMF =
>      JDOHelper.getPersistenceManagerFactory("transactions-optional");
> It will be like this.
> what's trouble with me?
>
> p.s.I have jdoconfig.xml made by eclipse.
>
> Compiling module com.Demo3
>   Refreshing module from source
>      Validating newly compiled units
>         Removing units with errors
>            [ERROR] Errors in 'file:/D:/eclipasejava/demo3/src/com/
> client/PMF.java'
>               [ERROR] Line 7: No source code is available for type
> javax.jdo.PersistenceManagerFactory; did you forget to inherit a
> required module?
>               [ERROR] Line 8: No source code is available for type
> javax.jdo.JDOHelper; did you forget to inherit a required module?
>            [ERROR] Errors in 'file:/D:/eclipasejava/demo3/src/com/
> client/neww.java'
>               [ERROR] Line 30: No source code is available for type
> javax.jdo.PersistenceManagerFactory; did you forget to inherit a
> required module?
>               [ERROR] Line 31: No source code is available for type
> javax.jdo.JDOHelper; did you forget to inherit a required module?
>         Removing invalidated units
>            [WARN] Compilation unit 'file:/D:/eclipasejava/demo3/src/
> com/client/Demo3.java' is removed due to invalid reference(s):
>               [WARN] file:/D:/eclipasejava/demo3/src/com/client/
> neww.java
>   Computing all possible rebind results for
> 'com.example.cal.client.CalendarApp'
>      Rebinding com.example.cal.client.CalendarApp
>         Checking rule <generate-with
> class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
>            [ERROR] Unable to find type
> 'com.example.cal.client.CalendarApp'
>               [ERROR] Hint: Check that the type name
> 'com.example.cal.client.CalendarApp' is really what you meant
>               [ERROR] Hint: Check that your classpath includes all
> required source roots
>
> > 

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