Thank you,follow your instructions,this problem is solved.
But when I moved my classes out of the package 'client'.
It still error.
Compiling module com.Demo3
Computing all possible rebind results for 'com.Demo3'
Rebinding com.Demo3
Checking rule <generate-with
class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
[ERROR] Unable to find type 'com.Demo3'
[ERROR] Hint: Previous compiler errors may have made
this type unavailable
I have saw someone said that it can be solved by this method,but it
didn't work.
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/5a4cebc583365386/b54a336ccea11a72?lnk=gst&q=com.google.gwt.user.rebind.ui.ImageBundleGenerator#b54a336ccea11a72
Help me,Please. Thanks a lot.
On 8月30日, 下午7時07分, "Alessandro Loche" <[email protected]>
wrote:
> 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/DevGuideOrganizi...
>
> 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
-~----------~----~----~----~------~----~------~--~---