Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)
How are you launching the codeserver? (which classpath, which arguments)
On Monday, December 16, 2013 8:49:23 AM UTC+1, Olaf Raether wrote:
-- On Monday, December 16, 2013 8:49:23 AM UTC+1, Olaf Raether wrote:
I want to compile my project with codeserver.
But when I do so I get the follow errors:
Computing all possible rebind results for 'de.epro.m3builder.client.ProductImages'
Rebinding de.epro.m3builder.client.ProductImages
Invoking generator com.google.gwt.resources.rebind.context. InlineClientBundleGenerator
Preparing method a600010Int135px
Finding resources
[ERROR] Resource de/epro/gwt/resources/images/products/A6000_10_int_135px. jpg not found. Is the name specified as ClassLoader.getResource() would expect?
Preparing method a600020Int135px
Finding resources
[ERROR] Resource de/epro/gwt/resources/images/products/A6000_20_int_135px. jpg not found. Is the name specified as ClassLoader.getResource() would expect?
But the images are at that path and it works fine without codeserver and within the code everything looks fine.
public interface ProductImages extends ClientBundle {
@Source("de/epro/gwt/resources/images/products/ A6000_10_int_135px.jpg")
ImageResource a600010Int135px();
...
}
So how can I go ahead with that ?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home