Hi Lift community,
I'm relatively new to liftweb, but I have to deploy some older code written in scala, using your framework, to a production environment preferably using docker.
For this I've followed the wiki and lift cookbook, but to no avail.
I tried posting on this mailing list before, but I can't seem to find my previous message anywhere.
What I'm simply trying to achieve is creating an executable java application from a liftweb project. This doesn't sound hard, but when using `sbt package` or the likes, it produces a jar without a main entrypoint. It also produces a .war without this, which is according to the docs supposedly meant to be run in apache jetty? However running on recent versions of jetty this spits out even more errors.
The only thing that seems to work is running the development server from within, which is somewhat documented, but this is clearly not suitable for a production environment.
Concretely:
- How do I produce a standalone .jar from a liftweb project using either sbt or maven?
- Can I use this in combination with java 11?
I hope there is someone here that can point me in the right direction,
Sincerely,
Yael Bakker