Domanda

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.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top