Reputation: 6816
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
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