404 Not Found Error in a simple Jetty/Maven Hello World webapp

The tutorial gives the incorrect url - your app context is still "/", so the urls are http://localhost:8080 and http://localhost:8080/hello for the static and dynamic content, respectively.

The maven jetty plugin documentation does claim that the default context will be named the same as the artifactId in the pom.xml, but that doesn't seem to be working here.


I ran into the same issue and what worked for me was accessing the app like: http://localhost:8080/hello/index.jsp or http://localhost:8080/hello/index.html, whatever you're using html or js pages.