Spring Boot Get Started

Spring Boot

Spring Boot is a kind of helper to create Spring Base Application.


To use Spring Boot, we need a bit.
Install Maven

brew install maven
mvn -v

I use brew, if you don’t have brew please read brew.

Install Spring boot CLI

brew tap pivotal/tap
brew install springboot

Install M2Eclipse

M2Eclipse is maven plugin for Eclipse


as Eclipse new install software URL
and install plugin.

You can create “maven project” from Eclipse.
New Project -> Maven > Maven Project


pom.xml is maven file. Add project properties.

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">




<!-- Add -->

<!-- Add -->

Sample Codes

public class App {
    String home() {
        return "Hello World!";
    public static void main( String[] args ){
    	SpringApplication.run(App.class, args);


Project right click -> Run As Maven Install


Project Run > Run As -> Java Application

You can run main