title: Spring 3.1 - Servlet 3 code-based configuration using the Jetty Maven Plugin
body: <p>I try to integrate the new features of spring 3.1 using annotations to specify the configuration information for the web application.</p>
  
  <p>I set up the maven-jetty-plugin version 8.0.4.v20111024 to run my app.
  While starting jetty using the mvn jetty:run command, everything seems to be ok and set up correctly. 
  But when accessing the app through the browser, there is just the output of the default servlet.</p>
  
  <p>It seems to be a simular issue, that tomcat had in previous versions (&lt;=7.0.14)
  <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=51278" rel="nofollow">https://issues.apache.org/bugzilla/show_bug.cgi?id=51278</a></p>
  
  <p>Currently, I can not use jetty and I had to switch to the tomcat-plugin to deploy my application to tomcat.</p>
  
  <p>Has anyone any suggestions, how to overwrite the jetty default servlet, when no web.xml is available?</p>