Starting up embedded jetty server for a JAR file
问题 What I am trying to do, is to build an executable JAR file which will contain my project. I have included its dependencies right next to it, also in JAR files, so my directory listing looks something like this: ~/Projects/Java/web-app/out: web-app.jar dependency1.jar dependency2.jar dependency3.jar I know and am sure that my problem does not arise from dependencies, as my application functions properly, right up to the moment I start up Jetty embedded. The code I use to start Jetty is like