I have this web application which I run with jetty. I also this Bootstrap.java class which is responsible for starting jetty as embedded. Whenever I run the Bootstrap class, everything works fine. However if I package everything in a jar file, all of the sudden I get an error message saying

Web application not found

Can anyone tell me why this is, and if there is anyway how to make it find the web application?

Thanks a lot