It gets weirder... I believe it might have something to do with sbt.
[info] Loading global plugins from C:\Users\Eirik\.sbt\0.13\plugins
[info] Loading project definition from D:\workspace\blatest\my-scalatra-web-app\project
[info] Set current project to My Scalatra Web App (in build file:/D:/workspace/blatest/my-scalatra-web-app/)
[info] Generating D:\workspace\blatest\my-scalatra-web-app\target\scala-2.10\resource_managed\main\rebel.xml.
[info] Compiling Templates in Template Directory: D:\workspace\blatest\my-scalatra-web-app\src\main\webapp\WEB-INF\templates
[info] jetty-8.1.8.v20121106
[info] NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
[info] started o.e.j.w.WebAppContext{/,[file:/D:/workspace/blatest/my-scalatra-web-app/src/main/webapp/]}
[info] started o.e.j.w.WebAppContext{/,[file:/D:/workspace/blatest/my-scalatra-web-app/src/main/webapp/]}
22:46:31.663 [pool-7-thread-1] INFO o.scalatra.servlet.ScalatraListener - Initializing life cycle class: ScalatraBootstrap
[info] started o.e.j.w.WebAppContext{/,[file:/D:/workspace/blatest/my-scalatra-web-app/src/main/webapp/]}
22:46:31.949 [pool-7-thread-1] INFO o.f.s.servlet.ServletTemplateEngine - Scalate template engine using working directory: C:\Users\Eirik\AppData\Local\Temp\scalate-6594350449708575862-workdir
[success] Total time: 1 s, completed 26.okt.2013 22:46:31
(everything seems fine.)
When I run
sbt container:start
I get this console output:
D:\workspace\blatest\my-scalatra-web-app>sbt container:start
[info] Loading global plugins from C:\Users\Eirik\.sbt\0.13\plugins
[info] Loading project definition from D:\workspace\blatest\my-scalatra-web-app\project
[info] Set current project to My Scalatra Web App (in build file:/D:/workspace/blatest/my-scalatra-web-app/)
[info] Generating D:\workspace\blatest\my-scalatra-web-app\target\scala-2.10\resource_managed\main\rebel.xml.
[info] Compiling Templates in Template Directory: D:\workspace\blatest\my-scalatra-web-app\src\main\webapp\WEB-INF\templates
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
[info] jetty-8.1.8.v20121106
[info] NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
Null identity service, trying login service: null
Finding identity service: null
[info] started o.e.j.w.WebAppContext{/,[file:/D:/workspace/blatest/my-scalatra-web-app/src/main/webapp/]}
[info] started o.e.j.w.WebAppContext{/,[file:/D:/workspace/blatest/my-scalatra-web-app/src/main/webapp/]}
22:44:55.169 [pool-7-thread-4] INFO o.scalatra.servlet.ScalatraListener - Initializing life cycle class: ScalatraBootstrap
[info] started o.e.j.w.WebAppContext{/,[file:/D:/workspace/blatest/my-scalatra-web-app/src/main/webapp/]}
22:44:55.449 [pool-7-thread-4] INFO o.f.s.servlet.ServletTemplateEngine - Scalate template engine using working directory: C:\Users\Eirik\AppData\Local\Temp\scalate-7432287242830895053-workdir
[success] Total time: 1 s, completed 26.okt.2013 22:44:55
So the error is not there when I pipe the output to a file.