title: Getting HTTP 500 when running servlet in Jetty
body: <p>I have a servlet that was running fine until a few days ago. But the only thing that I've changed is the nexus repo I'm using for maven. I'm running the servlet via mvn jetty:run</p>
  
  <p>But when I try to access the site instead of seeing the home page, I see:</p>
  
  <pre><code>HTTP ERROR 500
  
  Problem accessing /. Reason:
  
      jregex/Pattern
  </code></pre>
  
  <p>I can access other url's fine such as /favicon.ico. But I can't find anything on this jregex/Pattern error and it doesn't look like the jregex library is being used in the code at all.</p>
  
  <p>I also don't see any problems in the logs. It looks like requests for the homepage are not making it to my servlet but requests for other pages are.</p>
  
  <p>This is happening on both Arch Linux and Mac OS X 10.7</p>
  
  <p>This is almost certainly a dependency issue because after replacing my <code>~/.m2</code> folder with an old one (with dependencies from the old nexus server) it works.</p>
  
  <p>Sometimes I also get:</p>
  
  <pre><code>HTTP ERROR: 503
  
  Problem accessing /. Reason:
  
      SERVICE_UNAVAILABLE
  </code></pre>