(Beginner's question)

I am unable to get jetty:run-war to resolve the servlet context. 

2009-04-19 15:07:00.303::WARN:  Failed startup of context
org.mortbay.jetty.webapp.webappcont...@1352367{/simple-webapp,jar:file:/O:/prog/examples/exercizes/simple-webapp/target/simple-webapp.war!/}
java.lang.NullPointerException

My web.xml looks OK:

  <servlet>
        <servletName>simple-webapp</servletName>        
        <servletClass>org.sonatype.mavenbook.web.SimpleServlet</servletClass>
  </servlet>
  <servlet-mapping>
        <servlet-name>simple-webapp</servlet-name>
        <url-pattern>/simple-webapp</url-pattern>
  </servlet-mapping>

The WAR is in the right place, etc. is in the right place.

-- 
View this message in context: 
http://www.nabble.com/Failed-start-of-context-using-Jetty-tp23127991p23127991.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to