I don't know if this will help, but check your paths.
If you have a source path like this:
C:\Workspace\App\src\com\me\app:
- App.gwt.xml
- App.java
Where App.gwt.xml reads:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//
EN" "
http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-
source/core/src/gwt-module.dtd">
<module rename-to='app'>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<entry-point class='
com.me.app.App'/>
</module>
You will get an error like this:
Compiling module
com.me.app.App
Computing all possible rebind results for '
com.me.app.App'
Rebinding
com.me.app.App
Checking rule <generate-with
class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
[ERROR] Unable to find type '
com.me.app.App'
[ERROR] Hint: Previous compiler errors may have made
this type unavailable
This is because GWT is (very) not smart, and cannot locate classes in
the small path as the gwt.xml file (notice how the template projects
always have a client and server directory).
So fix this, change the class path of App.java to:
C:\Workspace\App\src\com\me\app\client
And the entry point to:
<entry-point class='
com.me.app.client.App'/>
This may not be the problem you have, but it sounds quite similar.
Don't worry. It's not just you. I've never come across a good
explanation of why this happens.
~
Doug.