Create an executable jar for SBT scalatra webapp using Jetty

974 views Asked by At

I wrote a small scalatra webapp using SBT. Webapp has default jetty plugin configured. Now i want to create an executable jar from that scalatra webapp which should run by simply executing the jar. I am trying to bundle the jar with assembly plugin and create jar But couldn't make it working.

Can someone suggest me how could i solve this problem.

1

There are 1 answers

0
Rajeev On BEST ANSWER

Link suggested by @RobinGreen answers my question. URL : Standalone deployment of Scalatra servlet

You will also get more details at below links : scalatra.org/guides/deployment/standalone.html For project structure reference, check here : scalatra.org/getting-started/project-structure.html