- Change Database Details in
/src/main/resources/application.properties - Run Command:
mvn spring-boot:run - Package Command:
mvn packageThis is will create jar file intargetdirectory - Running Jar:
java -jar /path/to/jarfile.jar
While development we will use Step 2 to check the output,
We need to generate a jar and upload it to server for production purpose then Follow Step 3 & 4