when i run this line:
URL myurl = getClass().getResource("/bla.xml");
I got myurl is null
if I try to debug in runtime this value "getClass().getResource("/bla.xml")" I got the right value. it seems that something went wrong with placement. what it can be? using eclipse oxygen