Unrecognized image file format - UiBinder
I'm getting this error when I put
<ui:with field='res' type='com.mycomp.mygwt.client.Resources'/>
In my UiBinder file where the error is:
[DEBUG] [MyGWT] - Rebinding com.mycomp.mygwt.client.Resources
[DEBUG] [MyGWT] - Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
[DEBUG] [MyGWT] - Preparing method logo
[TRACE] [MyGWT] - Adding image 'com.mycomp.mygwt.client.Resources.logo'
[ERROR] [MyGWT] - Unrecognized image file format
[ERROR] [MyGWT] - Generator 'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator' threw an exception while rebinding 'com.mycomp.mygwt.client.Resources'
The image file in the path is a PNG file which I use in my previous GWT application. I really don't know why GWT is throwing the error.
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vpNsex5AZb0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home