maven jetty embedded (fat jar) - src/main/webapp missing in jar
问题 I am trying to built a embedded jetty in one fat jar. I built the app using a tuto for jetty-embedded offering rest service, which I also need in my application. Now I am trying to add/include a jsf based context. Everything works fine in Eclipse, but as soon as deploy using maven clean install and I try to execute the jar somewhere esle, I get the following error: Exception in thread "main" java.lang.IllegalArgumentException: file:///home/debbie/src/main/webapp is not an existing directory.