I have developed a simple Spark-Web app that runs fine when started through my IDE (IntelliJ). However, when I run the generated .jar (or .war - i have tried creating both) I get a manifest error:
no main manifest attribute, in build/libs/ProjectName-0.1.war
My goal is to run it stand-alone on a test server. I have read through How to deploy a spark Java web app? but it's not specific on how to start the app - I am guessing it's by running:
java -jar ProjectName-0.1.war
which results in the error that brought me here.
EDIT: Using Gradle 2.2.1