Java's & SpringBoot Starting Learnings

Spring boot application :-

  • Build Jar File ./mvnw install

  • Now in target folder there is jar file now run cmd java -jar {location_of_jar_file}

  • or Run From Intellij

Agr git se clone krte h Spring Boot ka project then run mvn clean compile mvn spring-boot:run mvn clean install -U (relaod maven dependency like npm i -U is for forced )

mvn spring-boot:run -Dspring-boot.run.profiles=local
https://stackoverflow.com/questions/31038250/setting-active-profile-and-config-location-from-command-line-in-spring-boot

mvn --settings settings.xml clean install
(for custom setting.xml)

Abstract Class :- Video