{"id":74023,"date":"2018-02-27T22:00:19","date_gmt":"2018-02-27T20:00:19","guid":{"rendered":"https:\/\/www.javacodegeeks.com\/?p=74023"},"modified":"2018-02-27T11:45:59","modified_gmt":"2018-02-27T09:45:59","slug":"create-spring-boot-project-spring-initializer","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html","title":{"rendered":"How to Create Spring Boot Project With Spring initializer"},"content":{"rendered":"<p>Hello Friends,<\/p>\n<p>If you have used Spring framework previously, you\u00a0must be aware that it takes some genuine effort to even get started with basic Spring functionality.With Spring Boot, that initial hassle\u00a0is gone and you can get started in minutes.<\/p>\n<p>Welcome to the world of Spring Boot!!!<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n<a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/SpringBootImage.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74054\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/SpringBootImage.png\" alt=\"\" width=\"310\" height=\"163\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/SpringBootImage.png 310w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/SpringBootImage-300x158.png 300w\" sizes=\"(max-width: 310px) 100vw, 310px\" \/><\/a><\/p>\n<p>In this tutorial, we will see various ways in which we can create a Spring Boot Project.<\/p>\n<p>Basically, there are following four ways in which we can create Spring Boot Project :<\/p>\n<p><b>1. Using Spring.io initializer\u00a0<\/b><\/p>\n<p><b>2. Using Eclipse or any similar IDE and Maven simple project<\/b><\/p>\n<p><b>3. Using Spring Tool Suite<\/b><\/p>\n<p><b>4. Using CLI<\/b><\/p>\n<p>This tutorial will focus on creating Spring Boot project using Spring.io initializer.<\/p>\n<p><b>1. Spring Boot Project using Spring.io initializer<\/b><\/p>\n<p>Steps :<\/p>\n<p><b>Step 1:<\/b><\/p>\n<p>Open URL:\u00a0http:\/\/start.spring.io\/<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.38.09-PM.png\"><img decoding=\"async\" class=\"aligncenter wp-image-74055\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.38.09-PM-1024x583.png\" alt=\"\" width=\"860\" height=\"489\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.38.09-PM-1024x583.png 1024w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.38.09-PM-300x171.png 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.38.09-PM-768x437.png 768w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.38.09-PM.png 1439w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<p>As we can see in above screenshot(you can refer\u00a0extracted part below) screenshot that by default, it says that Generate a &lt;Maven Project&gt; With &lt;Java&gt; and Spring Boot &lt;1.5.0&gt;<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.43.04-PM.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74056\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.43.04-PM.png\" alt=\"\" width=\"640\" height=\"59\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.43.04-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.43.04-PM-300x28.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>But there are options to Generate a &lt;Gradle Project&gt; with &lt;Kotlin&gt;\/&lt;Groovy&gt; and Sprig Boot&lt;Lower versions&gt; as well as per our requirements.<\/p>\n<p>In this tutorial, we\u00a0will focus on Maven with Java and Spring Boot 1.5.10.<\/p>\n<p><b>Step 2:<\/b><\/p>\n<p>As we are creating a Maven project and we\u00a0know that every Maven project has group and artifact id, so\u00a0this interface provides us with placeholders where we can enter group and artifact id.<\/p>\n<p>We will enter the following as group and artifact id :<\/p>\n<p>group\u00a0 \u00a0 \u00a0 \u00a0: nl.blogspot.javasolutionsguide.springboot<\/p>\n<p>artifact Id : springBootApp<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.57.19-PM.png\"><img decoding=\"async\" class=\"aligncenter wp-image-74057\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.57.19-PM.png\" alt=\"\" width=\"860\" height=\"489\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.57.19-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-1.57.19-PM-300x171.png 300w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<p><b> Step 3:<\/b><br \/>\nClick on the &#8220;switch to the full version&#8221; hyperlink, which is just below Generate Project button.<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.26.20-PM.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74058\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.26.20-PM.png\" alt=\"\" width=\"640\" height=\"93\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.26.20-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.26.20-PM-300x44.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><b>\u00a0Step 4:<\/b><br \/>\nYou will notice following additional fields :<\/p>\n<p><b>Description<\/b>: This is simply the description of the project.You can change it as suitable but it does not make difference from the technical front.<\/p>\n<p><b>Package Name:<\/b>\u00a0This is a name of the package that will be created by Spring by default when Spring boot project will be created using this GUI of start.spring.io.<\/p>\n<p><b>Packaging: <\/b>This represents how the project will be bundled as a deliverable.Here we have two options :<\/p>\n<p><b>Jar\u00a0 \u00a0&#8211; Java Archive<\/b><\/p>\n<p><b>War &#8211; Web Archive<\/b><\/p>\n<p>We are going with\u00a0Jar option first.We will see War as well later in this tutorial.<\/p>\n<p><b>Java Version :<\/b><\/p>\n<p>As of writing this tutorial, we have three options 7,8 and 9.I will go with the default which is Java 8.<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.38.09-PM.png\"><img decoding=\"async\" class=\"aligncenter wp-image-74059\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.38.09-PM.png\" alt=\"\" width=\"860\" height=\"500\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.38.09-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.38.09-PM-300x174.png 300w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<p><b>Step 5:<\/b><\/p>\n<p>Scroll down on the start.spring.io web page and you will find below a list of dependencies which you can add in your application depending upon the requirements.Here we will add only Web dependency.For that, you just need to tick that dependency and once you will click on Generate Project, this dependency will be added to the generated project.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-5.40.51-PM.png\"><img decoding=\"async\" class=\"aligncenter wp-image-74060\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-5.40.51-PM.png\" alt=\"\" width=\"860\" height=\"485\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-5.40.51-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-5.40.51-PM-300x169.png 300w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<p><b>Step 6:<\/b><\/p>\n<p>Click on Generate Project and you will see that project will be downloaded and Zip on your hard drive with the name which\u00a0you would have given in Artifact text box.<br \/>\n<a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.41.00-PM.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74061\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.41.00-PM.png\" alt=\"\" width=\"640\" height=\"47\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.41.00-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.41.00-PM-300x22.png 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-2.41.00-PM-620x47.png 620w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><b>Step 7:<\/b><\/p>\n<p>Extract project using WinZip and import in Eclipse as Maven Project by right clicking in Package Explorer and then select import&#8230; -&gt; Existing Maven project -&gt;Next -&gt; Chose extracted project from the hard drive -&gt; Click Finish.<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.01.53-PM.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74062\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.01.53-PM.png\" alt=\"\" width=\"640\" height=\"401\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.01.53-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.01.53-PM-300x188.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><b>Step 8:<\/b><br \/>\nYou will see a java project as per Maven standard is there in eclipse.And with this, you have already set up a Spring Boot project in Eclipse.Easy&#8230;. right.<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.08.06-PM.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74063\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.08.06-PM.png\" alt=\"\" width=\"640\" height=\"388\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.08.06-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.08.06-PM-300x182.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\n<b>Step 9:<\/b><br \/>\nLet&#8217;s explore the project that has been created.<\/p>\n<p>&#8211; Open Pom.xml and you will find that Pom is created with the following project co-ordinates as we\u00a0 \u00a0 \u00a0 \u00a0defined in GUI<\/p>\n<pre class=\"brush:xml\">&lt;groupId&gt;nl.blogspot.javasolutionsguide.springboot&lt;\/groupId&gt;\r\n &lt;artifactId&gt;springBootApp&lt;\/artifactId&gt;\r\n &lt;version&gt;0.0.1-SNAPSHOT&lt;\/version&gt;\r\n\r\n &lt;packaging&gt;jar&lt;\/packaging&gt;\r\n\r\n &lt;name&gt;springBootApp&lt;\/name&gt;\r\n\r\n &lt;description&gt;Demo project for Spring Boot&lt;\/description&gt;<\/pre>\n<p>&#8211; Following parent has also been added automagically(note the word, it is Spring Boot&#8217;s magic :)).<\/p>\n<pre class=\"brush:xml\">&lt;parent&gt;\r\n   &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt; \r\n   &lt;artifactId&gt;spring-boot-starter-parent&lt;\/artifactId&gt;\r\n   &lt;version&gt;1.5.10.RELEASE&lt;\/version&gt;  \r\n   &lt;relativePath\/&gt; &lt;!-- lookup parent from repository --&gt;\r\n\r\n&lt;\/parent&gt;<\/pre>\n<p>It will make sure that following Maven dependencies are added to the project.You can try removing spring-boot-starter-parent from pom.xml and save the project and you will notice that all your following dependencies will be gone.<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.06.44-PM.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74064\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.06.44-PM.png\" alt=\"\" width=\"278\" height=\"640\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.06.44-PM.png 278w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.06.44-PM-130x300.png 130w\" sizes=\"(max-width: 278px) 100vw, 278px\" \/><\/a><\/p>\n<p>&#8211; In above list of dependencies, you must have noticed that spring boot has also added dependencies for embedded Tomcat so that you need not to install or configure tomcat in your eclipse explicitly.<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.09.34-PM.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74065\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.09.34-PM.png\" alt=\"\" width=\"505\" height=\"86\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.09.34-PM.png 505w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.09.34-PM-300x51.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/a><\/p>\n<p>&#8211; Also, you will find following properties, dependencies and plugin added automagically.Remember that as we selected Web in start.spring.io GUI,dependency spring-boot-starter-web has been added in POM file.<\/p>\n<pre class=\"brush:xml\">&lt;properties&gt;\r\n    &lt;project.build.sourceEncoding&gt;UTF-8&lt;\/project.build.sourceEncoding&gt;\r\n    &lt;project.reporting.outputEncoding&gt;UTF-8&lt;\/project.reporting.outputEncoding&gt;\r\n    &lt;java.version&gt;1.8&lt;\/java.version&gt;\r\n &lt;\/properties&gt;\r\n\r\n  &lt;dependencies&gt;\r\n\r\n  &lt;dependency&gt;\r\n   &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n   &lt;artifactId&gt;spring-boot-starter-web&lt;\/artifactId&gt;\r\n  &lt;\/dependency&gt;\r\n\r\n  &lt;dependency&gt;\r\n   &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n   &lt;artifactId&gt;spring-boot-starter-test&lt;\/artifactId&gt;\r\n   &lt;scope&gt;test&lt;\/scope&gt;\r\n  &lt;\/dependency&gt;\r\n  &lt;\/dependencies&gt;\r\n\r\n  &lt;build&gt;\r\n     &lt;plugins&gt;\r\n &lt;plugin&gt;\r\n    &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n     &lt;artifactId&gt;spring-boot-maven-plugin&lt;\/artifactId&gt;\r\n         &lt;\/plugin&gt;\r\n     &lt;\/plugins&gt;\r\n  &lt;\/build&gt;<\/pre>\n<p>&#8211; If you open src\/main\/java, you will see that package which we mentioned in start.spring.io GUI has been created, which is &#8220;nl.blogspot.javasolutionsguide.springboot.springBootApp&#8221;<\/p>\n<p>&#8211; Within the above-mentioned package, you will find a class SpringBootAppApplication.So basically a class with the name as\u00a0 &lt;Name of your Project&gt; with &#8220;Application&#8221; word appended to it is created in the specified package.<\/p>\n<pre class=\"brush:java\">@SpringBootApplication\r\npublic class SpringBootAppApplication {\r\n\r\n public static void main(String[] args) {\r\n  SpringApplication.run(SpringBootAppApplication.class, args);\r\n }\r\n\r\n}<\/pre>\n<p>&#8211; The\u00a0@SpringBootApplication annotation used at the class level above is basically equivalent to combined following three annotations :<\/p>\n<pre class=\"brush:java\">@Configuration\r\n@EnableAutoConfiguration\r\n@ComponentScan<\/pre>\n<p>We will discuss more on these annotations in subsequent tutorials.<\/p>\n<p>&#8211; From the main method of SpringBootAppApplication ,SpringApplicaiton class&#8217;s run method is called.This method makes sure that Spring application&#8217;s applicationContext(the Spring Container) is initialized.Spring boot uses AnnotaionConfigApplicationContext.<\/p>\n<pre class=\"brush:java\">public static void main(String[] args) {\r\n  SpringApplication.run(SpringBootAppApplication.class, args);\r\n\r\n }<\/pre>\n<p><b>Step 10:<\/b><br \/>\nRun the main method of SpringBootAppApplication and you will notice that jar is automatically deployed to embedded Tomcat server and Tomcat server has been started at port 8080.<\/p>\n<p>Check Console log of eclipse:<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.15.20-PM.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74066\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.15.20-PM.png\" alt=\"\" width=\"640\" height=\"400\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.15.20-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.15.20-PM-300x188.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><b>Step 11:<\/b><br \/>\nNow as our code is deployed on Tomcat and Tomcat is up and running, Let us try to hit 8080.<\/p>\n<p>oh&#8230;Error Page and it says that &#8220;This application has no explicit mapping for \/error, so you are seeing this as a fallback.&#8221;<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.22.08-PM.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74067\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.22.08-PM.png\" alt=\"\" width=\"640\" height=\"364\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.22.08-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.22.08-PM-300x171.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><b>Step 12:<\/b><br \/>\nLet us go ahead and add mapping for \/error by creating ErrorHandlerController under new package<\/p>\n<p>nl.blogspot.javasolutionsguide.springboot.controller.<\/p>\n<pre class=\"brush:java\">@RestController\r\npublic class ErrorHandlerController implements ErrorController{\r\n \r\n private static final String PATH = \"\/error\";\r\n \r\n @RequestMapping(value=PATH)\r\n public String error() {\r\n  return \"Error Handling\";\r\n }\r\n\r\n @Override\r\n public String getErrorPath() {\r\n  return PATH;\r\n }\r\n\r\n\r\n}<\/pre>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.43.20-PM.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74068\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.43.20-PM.png\" alt=\"\" width=\"640\" height=\"387\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.43.20-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.43.20-PM-300x181.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Please note that this controller needs to implement ErrorController interface which is provided by Spring Boot and we need to implement it&#8217;s getErrorPath() method.<\/p>\n<p>Also as I told earlier\u00a0@SpringBootApplication already include @EnableAutoConfiguration, that means that we don&#8217;t need to do all configurations which otherwise we would have to do to handle request via Rest controller like configuring DispatcherServlet.<\/p>\n<p>Also note that ,as we have created this controller in new Package and by default Spring is going to check only nl.blogspot.javasolutionsguide.springboot.springbootapp package,we need to tell spring that this new package should also be scanned.For that we need to add following in the SpriingBootAppApplication class at the class level:<\/p>\n<pre class=\"brush:java; wrap-lines:false\">\r\n@ComponentScan({\"nl.blogspot.javasolutionsguide.springboot.springBootApp\",\"nl.blogspot.javasolutionsguide.springboot.controller\"})\r\n\r\nSo SpringBootAppApplicaiton class will look like below now :\r\n\r\n@ComponentScan({\"nl.blogspot.javasolutionsguide.springboot.springBootApp\",\"nl.blogspot.javasolutionsguide.springboot.controller\"})\r\n@SpringBootApplication\r\npublic class SpringBootAppApplication {\r\n\r\n public static void main(String[] args) {\r\n  SpringApplication.run(SpringBootAppApplication.class, args);\r\n }\r\n\r\n}<\/pre>\n<p><b>Step 13:<\/b><br \/>\nNow run the SpringBootApplication class again\u00a0 and now if we hit 8080, we will get &#8220;Error Handling&#8221; on Web page as below :<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.47.40-PM.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-74069\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.47.40-PM.png\" alt=\"\" width=\"640\" height=\"400\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.47.40-PM.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-25-at-6.47.40-PM-300x188.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\nSimilarly, we can have n number of controllers as per our requirements in our project and can handle the request and send valid responses back to a web page.<\/p>\n<p>That&#8217;s all Friends on How to create Spring Boot project with Spring Initializer.In subsequent tutorials, we will go through other ways to create Spring boot project.Subscribe for getting next tutorials right in your mailbox.<\/p>\n<p>Thanks for reading.If you liked it ,support me by liking our Facebook page and sharing this post.<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td>Published on Java Code Geeks with permission by Gaurav Bhardwaj, partner at our <a href=\"http:\/\/www.javacodegeeks.com\/join-us\/jcg\/\" target=\"_blank\" rel=\"noopener\">JCG program<\/a>. See the original article here: <a href=\"http:\/\/javasolutionsguide.blogspot.com\/2018\/02\/how-to-create-spring-boot-project-with.html\" target=\"_blank\" rel=\"noopener\">How to Create Spring Boot Project With Spring initializer<\/a><\/p>\n<p>Opinions expressed by Java Code Geeks contributors are their own.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Hello Friends, If you have used Spring framework previously, you\u00a0must be aware that it takes some genuine effort to even get started with basic Spring functionality.With Spring Boot, that initial hassle\u00a0is gone and you can get started in minutes. Welcome to the world of Spring Boot!!! &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; In this tutorial, we &hellip;<\/p>\n","protected":false},"author":955,"featured_media":240,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[30],"class_list":["post-74023","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-spring"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create Spring Boot Project With Spring initializer - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Hello Friends, If you have used Spring framework previously, you\u00a0must be aware that it takes some genuine effort to even get started with basic Spring\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create Spring Boot Project With Spring initializer - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Hello Friends, If you have used Spring framework previously, you\u00a0must be aware that it takes some genuine effort to even get started with basic Spring\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-27T20:00:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Gaurav Bhardwaj\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gaurav Bhardwaj\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html\"},\"author\":{\"name\":\"Gaurav Bhardwaj\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/58bd3e1f6edc1bed6a6374fe9a34ca37\"},\"headline\":\"How to Create Spring Boot Project With Spring initializer\",\"datePublished\":\"2018-02-27T20:00:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html\"},\"wordCount\":1222,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"keywords\":[\"Spring\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html\",\"name\":\"How to Create Spring Boot Project With Spring initializer - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"datePublished\":\"2018-02-27T20:00:19+00:00\",\"description\":\"Hello Friends, If you have used Spring framework previously, you\u00a0must be aware that it takes some genuine effort to even get started with basic Spring\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"spring-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/02\\\/create-spring-boot-project-spring-initializer.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How to Create Spring Boot Project With Spring initializer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/58bd3e1f6edc1bed6a6374fe9a34ca37\",\"name\":\"Gaurav Bhardwaj\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/657921afcac1f1ddf98dfb349121a07b4dcc1d42d5bd277150cf3ed8156de723?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/657921afcac1f1ddf98dfb349121a07b4dcc1d42d5bd277150cf3ed8156de723?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/657921afcac1f1ddf98dfb349121a07b4dcc1d42d5bd277150cf3ed8156de723?s=96&d=mm&r=g\",\"caption\":\"Gaurav Bhardwaj\"},\"description\":\"Gaurav has done Masters in Computer Applications(MCA) and is working in Software development field for more than 10 years in Java\\\/J2EE technologies. He is currently working with one of top MNC. He has worked on various frameworks like Struts, Spring, Spring Boot, Angular JS, JSF, Velocity, iBatis, MyBatis, Hibernate, JUnit, Mockito, Dozzer. He likes to explore new technologies and share his thoughts by writing a technical blog. He is the founder of JavaSolutionsGuide.blogspot.com.\",\"sameAs\":[\"http:\\\/\\\/www.javasolutionsguide.blogspot.nl\\\/\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/gaurav-bhardwaj\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create Spring Boot Project With Spring initializer - Java Code Geeks","description":"Hello Friends, If you have used Spring framework previously, you\u00a0must be aware that it takes some genuine effort to even get started with basic Spring","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html","og_locale":"en_US","og_type":"article","og_title":"How to Create Spring Boot Project With Spring initializer - Java Code Geeks","og_description":"Hello Friends, If you have used Spring framework previously, you\u00a0must be aware that it takes some genuine effort to even get started with basic Spring","og_url":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2018-02-27T20:00:19+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","type":"image\/jpeg"}],"author":"Gaurav Bhardwaj","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Gaurav Bhardwaj","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html"},"author":{"name":"Gaurav Bhardwaj","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/58bd3e1f6edc1bed6a6374fe9a34ca37"},"headline":"How to Create Spring Boot Project With Spring initializer","datePublished":"2018-02-27T20:00:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html"},"wordCount":1222,"commentCount":3,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","keywords":["Spring"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html","url":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html","name":"How to Create Spring Boot Project With Spring initializer - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","datePublished":"2018-02-27T20:00:19+00:00","description":"Hello Friends, If you have used Spring framework previously, you\u00a0must be aware that it takes some genuine effort to even get started with basic Spring","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","width":150,"height":150,"caption":"spring-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2018\/02\/create-spring-boot-project-spring-initializer.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"How to Create Spring Boot Project With Spring initializer"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/58bd3e1f6edc1bed6a6374fe9a34ca37","name":"Gaurav Bhardwaj","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/657921afcac1f1ddf98dfb349121a07b4dcc1d42d5bd277150cf3ed8156de723?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/657921afcac1f1ddf98dfb349121a07b4dcc1d42d5bd277150cf3ed8156de723?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/657921afcac1f1ddf98dfb349121a07b4dcc1d42d5bd277150cf3ed8156de723?s=96&d=mm&r=g","caption":"Gaurav Bhardwaj"},"description":"Gaurav has done Masters in Computer Applications(MCA) and is working in Software development field for more than 10 years in Java\/J2EE technologies. He is currently working with one of top MNC. He has worked on various frameworks like Struts, Spring, Spring Boot, Angular JS, JSF, Velocity, iBatis, MyBatis, Hibernate, JUnit, Mockito, Dozzer. He likes to explore new technologies and share his thoughts by writing a technical blog. He is the founder of JavaSolutionsGuide.blogspot.com.","sameAs":["http:\/\/www.javasolutionsguide.blogspot.nl\/"],"url":"https:\/\/www.javacodegeeks.com\/author\/gaurav-bhardwaj"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/74023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/955"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=74023"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/74023\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/240"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=74023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=74023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=74023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}