Running the application

Report a typo

You generated a Spring Boot application with Gradle as the build tool. You built it and tried to run it with the following instruction:

java -jar build/libs/*.jar

You got this message:

no main manifest attribute, in build/libs/myapp-0.0.1-SNAPSHOT-plain.jar

How can you run the application instead? Choose all possible options.

Select one or more options from the list
___

Create a free account to access the full topic