As you already mentioned your sbt version is 0.13.0 so:
on https://github.com/sbt/sbt-start-script
there are instructions for 0.13.0 version. So we need to:
- Use
com.typesafe.sbt.SbtStartScript.startScriptForClassesSettings: _*
instead ofcom.typesafe.startscript.StartScriptPlugin.startScriptForClassesSettings: _*
inbuild.scala
and - In
project/plugins.sbt
we need to add start script plugin likeaddSbtPlugin("com.typesafe.sbt" % "sbt-start-script" % "0.10.0")
instead ofddSbtPlugin("com.typesafe.startscript" % "xsbt-start-script-plugin" % "0.5.3")
And as a bonus: don’t forget to change servlet name in src/main/scala/JettyLauncher.scala
to one you have e.g. com.blog.BlogServlet
instead of one in tutorial com.example.app.MyScalatraServlet