Submitted by manoj on

Hello everyone, welcome back to techbrushup. In this tutorial, we will learn how to how to add dependency in Spring Boot Project. So guys, let's check out the prerequisite first.


Additional info: ( pom.xml) file is used to add dependencies in maven based Project.

prerequisite:

Should be Already created maven based project if not please follow Maven Based Project

Add Dependency

Step 1: Go to Maven Repository Official Mvn Repository Link

Step 2: search particular dependency 'spring web' and found result as below.

first spring boot application using the Eclipse

Step 3: Select dependency and click on it and select latest stable version .

first spring boot application using the Eclipse

Step 4: Select dependency and click on it and select latest stable version and copy it.

first spring boot application using the Eclipse

Step 5: Open pom.xml, go to section and add here.

 

first spring boot application using the Eclipse

Congrats !

नई टिप्पणी जोड़ें

सादा टेक्स्ट

  • No HTML tags allowed.
  • लाइन और पैराग्राफ स्वतः भंजन
  • Web page addresses and email addresses turn into links automatically.
Standard (Image)