How To Run Spring Project After Generate From Spring Initializer
How To Run Spring Project After Generate From Spring Initializer
- After Generating project from Spring initializer copy generated zip project on any folder like have created a folder in c:intellijworkspace here paste zip project and extract it as shown below.
- After that open command prompt and go inside the project directory as shown below
- After that inside project folder type command mvn, clean install and press enter as shown below
- After that project build process started as shown below
- Finally, Build Process Completed with success message as shown below
- After Build Successfully to run project type command mvn spring-boot :run as shown below
- Finally, project up successfully on port 8080 as shown below.
- To check project status open browser and type localhost:8080 it will display an error page that indicates project run successfully as shown below
Now Enjoy Spring Boot Project !!!!!!
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.