Saturday, November 15, 2025
Latest:
  • What are the main differences between ApplicationContext and BeanFactory?
  • German B1 Word list
  • How does Lazy annotation work in Spring?
  • How Spring framework resolves circular dependencies?
  • German Pronouns with Nominative, Accusative, and Dative cases
Upokary

Upokary

Quality information

  • Health
  • Life
  • Fashion
  • Food
  • Code
  • English
  • বাংলা
Technology 

How to run a spring boot application from command line?

Published: December 4, 2019 Java, Run, spring boot

Running spring boot application from command line is quite straight forward. Once we know about it is really easy. We can run spring boot application from command line in multiple ways.

Run using java -jar command

$ java -jar target/upokary-0.0.1-SNAPSHOT.jar

Run using Maven

$ mvn spring-boot:run

Run using Gradle

$ gradle bootRun

You May Also Like

Difference between Arrays.asList(array) and new ArrayList(Arrays.asList(array)) in Java

May 26, 2020 beroza

JavaScript “let” and “var” related interview questions

March 19, 2019 beroza

How to quick start reactjs application using jenkinsX?

February 19, 2020 beroza

Useful Java basic tips for developers

February 26, 2019 beroza

Always override tostring in java class

February 5, 2020 beroza

Flask ImportError: No Module Named Flask in python script

July 12, 2020 beroza

Mac OS X useful tips and tricks for users

February 22, 2020 beroza

TypeScript related useful resources

May 1, 2021 beroza

What are the differences between ASCII and Unicode?

June 20, 2020 beroza

Why Upokary?

Upokary.com is a useful application in everyday life. It provides very handy information regarding every aspect of life. Each and every tip of upokary.com is meant to make life better.

Upokary tools

  • Youtube thumbnail
  • Youtube video downloader

Useful Links

  • Handy code
  • Technology
  • People
  • Programming
  • Quote
  • Travel
  • WordPress
  • IELTS
  • Kids

Pages

  • Sitemap
  • Privacy policy
  • About us
  • Contact us

Support

For any kind of query or question please drop a message in the following email: upokary@gmail.com
Copyright © 2025 Upokary. All rights reserved.