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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top