Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 582 Bytes

run_the_application_with_both.adoc

File metadata and controls

20 lines (14 loc) · 582 Bytes

Run the service

If you are using Gradle, you can run your service at the command line this way:

./gradlew clean build && java -jar build/libs/{project_id}-0.1.0.jar
Note
If you are using Maven, you can run your service by typing mvn clean package && java -jar target/{project_id}-0.1.0.jar.

You can alternatively run the app directly from Gradle like this:

./gradlew bootRun
Note
With mvn, you can run mvn spring-boot:run.