I a weird problem with my code. I use getResourseAsStream, because I use an xsd within my jar. When I compile, run it in Eclipse using ant everything is ok. But when JAR is generated and I want to run in from command line I have an error that mine XSD file was not found. Do you have any ideas?