Your client side code must reside under the client sub-package
relative to where your module.xml is defined. If classes are not under
the client package, gwt can't find them.

In your case, your class should be defined at the location com/example/
gwt/selector/client/ArticleSelector.java or com/example/gwt/selector/
client/ui/ArticleSelector.java

If you don't want a client sub-package, add a sourcepath entry to your
module.xml; but that would be a non-standard GWT layout and would only
confuse other developers.


On Sep 10, 4:14 pm, Allen Firstenberg <g...@addventure.com> wrote:
> I'm getting the following error when trying to compile an entry-point
> module:
>
> Compiling module com.example.gwt.selector.ArticleSelector
>    Computing all possible rebind results for
> 'com.example.gwt.selector.ui.ArticleSelector'
>       Rebinding com.example.gwt.selector.ui.ArticleSelector
>          Checking rule <generate-with
> class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
>             [ERROR] Unable to find type
> 'com.example.gwt.selector.ui.ArticleSelector'
>                [ERROR] Hint: Previous compiler errors may have made this
> type unavailable
>
> Normally I get something like this when I omit an inherits configuration...
> but all of them appear to be in my .gwt.xml and none are listed as missing
> in the error messages above. I'm not using image bundles - at least nowhere
> intentionally that I'm aware of. I'm not even sure where else to look for
> the source of the problem at this point.
>
> Contents of com/example/gwt/selector/ArticleSelector.gwt.xml:
>
> <?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...
> ">
> <module>
>   <inherits name='com.google.gwt.dom.DOM'/>
>
>   <inherits name='com.google.gwt.user.theme.chrome.Chrome'/>
>   <inherits name='com.google.gwt.user.theme.chrome.ChromeResources'/>
>
>   <inherits name="com.example.gwt.order.Order" />
>
>   <entry-point class="com.example.gwt.selector.ui.ArticleSelector"/>
> </module>
>
> Contents of com/example/gwt/order/Order.gwt.xml:
>
> <?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...
> ">
> <module>
> <inherits name="com.google.gwt.user.User" />
>     <inherits name='com.allen_sauer.gwt.dnd.gwt-dnd'/>
>     <inherits name='com.spiders.gwt.lib.Lib'/>
> </module>
>
> Any suggestions or pointers where else to look?  Thanks!
> Allen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to