Add a slash before resource location to force resource loading from the root jar location, not from the location, where corresponding class is placed.