riorio
riorio

Reputation: 6816

Spring boot application as a shipable standalone jar

So I created a spring boot application. And I simply like to run it as a program from a Main class. No need for web controller access.

It runs great in my Intellij.

But how do I ship it as a jar?

Upvotes: 0

Views: 370

Answers (1)

Jan Schumacher
Jan Schumacher

Reputation: 359

It depends on your project structure. If you use maven just run "maven install" and find your jar in your local repository. When you have it, run "java -jar your.jar"

Upvotes: 1

Related Questions