title: SBT: libraryDependencies missing from classpath of jetty-run
body: <p>I have set up a webapp project with sbt 0.10.1. One of the library dependencies is Jersey. My build.sbt file looks as follows:</p>
  
  <pre><code>seq(webSettings :_*)
  scalaVersion := "2.8.1"
  libraryDependencies ++= Seq(
  "javax.ws.rs" % "jsr311-api" % "1.1" % "provided, jetty",
  "com.sun.jersey" % "jersey-server" % "1.9" % "provided, jetty" from "http://download.java.net/maven/2/",
  "org.eclipse.jetty" % "jetty-webapp" % "7.3.0.v20110203" % "jetty",
  "ch.qos.logback" % "logback-classic" % "0.9.26",
  "org.eclipse.jetty" % "jetty-servlet" % "7.3.0.v20110203"
  )
  </code></pre>
  
  <p>On the sbt console I run reload, update, compile, prepare-webapp, jetty-run - in that order.
  Everything seems to be ok, except jetty-run. There I get a ClassNotFoundException</p>
  
  <pre><code>java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer
  </code></pre>
  
  <p>This is because the Jersey library is not copied into target/webapp/WEB-INF/lib/ during jetty-run. So I guess there must be some flaw in my setup of build.sbt.</p>
  
  <p>Does anyone have an idea what could be wrong here?</p>
  
  <p>Thank you very much in advance!
  Michael</p>