Hi,

I'm using GWT 2.4.  I'm trying to run some GWTTestCases in an
environment and getting "Deferred binding failed for class" errors.
How do I figure out what resource GWT is looking for?  For a number of
my tests, GWT dies with the following error log ...


Rebinding com.myco.clearing.product.client.resource.Resources.Images
           Invoking generator
com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
              Preparing method cellTreeItemImage
                 Finding resources
                    [ERROR] No com.google.gwt.resources.client.ClientBundle
$Source annotation and no resources found with default extensions
              Preparing method cellTreeLeafItemImage
                 Finding resources
                    [ERROR] No com.google.gwt.resources.client.ClientBundle
$Source annotation and no resources found with default extensions
        [ERROR] Deferred binding failed for
'com.myco.clearing.product.client.resource.Resources.Images'; expect
subsequent failures


Below is the class in question.  The relevant files appear to be in
the classpath.  Is there anything I can do to get GWT to tell me more
about what's ailing it?

Thanks, - Dave


public class Resources {
        public interface Styles extends CssResource {
                String categoryPanel();

                String productDetailsPanel();

                String contextMenu();

                String productDetailsHeader();

                String COMMON_CSS = "com/myco/clearing/product/client/resource/
common.css";
        }

        public interface Images extends ClientBundle {
                ImageResource cellTreeItemImage();

                ImageResource cellTreeLeafItemImage();

                @NotStrict
                @Source( Styles.COMMON_CSS )
                Styles styles();
        }

        private static Images resources;

        static {
                resources = GWT.create( Images.class );
                resources.styles().ensureInjected();
        }

        public static Styles styles() {
                return resources.styles();
        }

        public static Images images() {
                return resources;
        }
}

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