Friday, March 24, 2017

Re: CSS resource not found in GWT library

You can always reference resources in ClientBundle using relative paths. Doesn't matter if its in src/main/java or src/main/resources. 

src/main/(java | resources)/com/example/client/std.gss

=> you can use @Source("std.gss") or completely omit it if your method is named std().

I only use absolute paths for CSS files I import, e.g.

@Source( { Constants.CSS_FILE, "std.gss" }) with CSS_FILE being absolute

-- J.

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment