Standalone deployment of Scalatra servlet

后端 未结 3 427
梦谈多话
梦谈多话 2020-12-16 03:18

I implemented a Scalatra servlet and now want to create an executable jar, just like described in this tutorial: http://www.scalatra.org/2.2/guides/deployment/standalone.htm

3条回答
  •  北海茫月
    2020-12-16 04:00

    For an up to date answer, please refer to these two files (Credits go to Scalatra in Action book):

    https://github.com/scalatra/scalatra-in-action/blob/master/chapter09-standalone/src/main/scala/ScalatraLauncher.scala

    and

    https://github.com/scalatra/scalatra-in-action/blob/master/chapter09-standalone/project/Build.scala

提交回复
热议问题