From 4f4a58344a0f029cfe7405896451b24024172644 Mon Sep 17 00:00:00 2001 From: Ranga Rao Karanam Date: Mon, 2 Jan 2017 14:44:53 +0530 Subject: [PATCH] First Step --- Step01.md | 72 +++++++++++++++++++ pom.xml | 48 +++++++++++++ .../in28minutes/springboot/Application.java | 16 +++++ 3 files changed, 136 insertions(+) create mode 100644 Step01.md create mode 100644 pom.xml create mode 100644 src/main/java/com/in28minutes/springboot/Application.java diff --git a/Step01.md b/Step01.md new file mode 100644 index 0000000..3895d2f --- /dev/null +++ b/Step01.md @@ -0,0 +1,72 @@ + +## Files List +### /pom.xml +``` + + 4.0.0 + com.in28minutes + springboot-for-beginners-example + 0.0.1-SNAPSHOT + Your First Spring Boot Example + war + + + org.springframework.boot + spring-boot-starter-parent + 1.4.0.RELEASE + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + org.springframework.boot + spring-boot-starter-tomcat + provided + + + + + 1.8 + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + +``` +### /src/main/java/com/in28minutes/springboot/Application.java +``` +package com.in28minutes.springboot; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.context.ApplicationContext; + +@SpringBootApplication +public class Application { + + public static void main(String[] args) { + + ApplicationContext ctx = SpringApplication.run(Application.class, args); + + } + +} +``` diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..c2ea44a --- /dev/null +++ b/pom.xml @@ -0,0 +1,48 @@ + + 4.0.0 + com.in28minutes + springboot-for-beginners-example + 0.0.1-SNAPSHOT + Your First Spring Boot Example + war + + + org.springframework.boot + spring-boot-starter-parent + 1.4.0.RELEASE + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + org.springframework.boot + spring-boot-starter-tomcat + provided + + + + + 1.8 + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + \ No newline at end of file diff --git a/src/main/java/com/in28minutes/springboot/Application.java b/src/main/java/com/in28minutes/springboot/Application.java new file mode 100644 index 0000000..264431d --- /dev/null +++ b/src/main/java/com/in28minutes/springboot/Application.java @@ -0,0 +1,16 @@ +package com.in28minutes.springboot; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.context.ApplicationContext; + +@SpringBootApplication +public class Application { + + public static void main(String[] args) { + + ApplicationContext ctx = SpringApplication.run(Application.class, args); + + } + +} \ No newline at end of file