scala sbt assembly “no main manifest attribute”

后端 未结 3 824
轻奢々
轻奢々 2021-01-11 19:42

I use assembly plugin in sbt to assemble my project. But errors happen when run by \"java -jar xx.jar\" -

\"no main manifest attribute\".

I think it\'s b

3条回答
  •  迷失自我
    2021-01-11 20:24

    I had this issue while testing out Lagom.

    To deploy in Lagom you can just access the -impl project and run this:

    ./sbt "project -impl" dist
    

    This will generate a zip with the executable inside.

提交回复
热议问题