4
に私がしようとしているscalatra-sbt.g8に基づいて、次Scalate ResourceNotFoundException Scalatra
class FooWeb extends ScalatraServlet with ScalateSupport {
beforeAll { contentType = "text/html" }
get("/") {
templateEngine.layout("/WEB-INF/scalate/templates/hello-scalate.jade")
}
}
が、私は次の例外(ファイルが存在していても)取得しています - 任意の手掛かりを? _baseResource==null
:
Could not load resource: [/WEB-INF/scalate/templates/hello-scalate.jade]; are you sure it's within [null]?
org.fusesource.scalate.util.ResourceNotFoundException: Could not load resource: [/WEB-INF/scalate/templates/hello-scalate.jade]; are you sure it's within [null]?
FWIWは、最も内側の例外がorg.mortbay.jetty.handler.ContextHandler.getResource
ライン1142から来ています。