Skip to content

Instantly share code, notes, and snippets.

@brijesh-deb
Last active February 2, 2018 04:49
Show Gist options
  • Save brijesh-deb/b9eabcb1c8141bfeac7d1de6ac1d8bf5 to your computer and use it in GitHub Desktop.
Save brijesh-deb/b9eabcb1c8141bfeac7d1de6ac1d8bf5 to your computer and use it in GitHub Desktop.
#Springboot #1st

Create a blank SpringBoot service

  • Go to Spring Initializr http://start.spring.io/
  • Generate project and unzip the download project
  • In Eclipse import the maven project
    • Existing Maven project
  • Build the application
    • mvn clean install [will download dependent packages; needs network access]
  • Run the service
    • From command prompt
      • Mvn spring-boot:run
    • From eclipse
      • In the class with main() method, right click > Run As > Java Application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment