Skip to main content

Posts

Showing posts from June, 2022

Simple example of spring boot with maven

In this post, we create a simple spring boot application with Maven. Technology used: Project: Maven project SpringBoot Version: 2.6.5 Java: 8 Editor or IDE: Eclipse How to create Maven Project in Eclipse? First, create a project with a spring boot initializer and unzip in a specific path of file explorer then follow the below steps in eclipse: 1) Go to File Menu. 2) Click on import . 3) Click on Existing Maven Projects . 4) Browse the path of your project which is created by the spring-boot initializer. 5) Click on Finish . How to run the application in Eclipse? First, build and then run an application using the following steps:     Build application: 1) Right Click on your project in Project Explorer. 2) Click on Run As . 3) Click on Run Configurations... 4) Click on Maven Build (In the left panel of opened dialog) 5) Provide a Name of the configuration. 6) Click on Workspace and select your project. 7) Write " clean -X install " in Goals. 8) Click on Apply . 9) Click...