GWT is mostly client side so I doubt it has anything to do with this problem.
Server side everything Java should work normally. Is this code in a
web app (i.e. a WAR)? Or standalone? If a WAR then note the difference
between src/main/resources and src/main/webapp. Check what ends up in
your WAR and where.
Also, if a WAR, you should use
Thread.currentThread().getContextClassLoader().getResourceAsStream()
or this.getClass().getResourceAsStream(). The leading slash might be
implied, i.e. the filename is treated as being absolute (I read that
somewhere, I haven't checked whether it's true).