Skip to main content

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













Comments

Popular posts from this blog

How To Display Welcome Message On Spring Boot Project

How To Display Welcome Message On Spring Boot Project  Normally Whenever we configure and start our first spring boot project and check in localhost:8080 it will display Whitelabel Error Page because  there is no explicit mapping found nor any index.html file found in the static folder, Today we will learn how to display a welcome message instead of Whitelabel Error Page. Now open your project in any IDE like IntelliJ etc. Go Static Folder as right Click and select Html File as shown Below Give name file to index.html  Type any welcome message  Restart the server  Open Web Browser and type localhost:8080 and see a welcome message How To Display Welcome Message In Spring Boot To Watch Video Click Here

How to Configuring a remote for a fork

How to Configuring a remote for a fork You must have to configure a remote that points to the upstream repository in git to sync changes mark you mark in a fork with the original repository .it also allow you to sync changes made in the original repository with the fork. To configure a remote for a fork you have to follow few step as given below Open Command Prompt / Open Git Bash List The Current Git Repository For Your Fork Specify a new remote upstream repository that will be synced with fork Verify the new upstream repository you've specified for you fork. Verify your configuration a remote for fork is correct or not 

How To Provide Explicit Mapping In Spring Boot Project

How To Provide Explicit Mapping In Spring Boot Project  Normally Whenever we configure and start our first spring boot project and check in localhost:8080 it will display  Whitelabel Error Page because   there is no explicit mapping found , Today we will learn how to provide an explicit mapping. Open your IntelliJ IDE & go to your project  Right Click on your project and select the new package as shown below Give package name as the controller              After that Right Click on the package and select new java class and named as HelloMessage After That Write The controller code as shown below After that restart the server and open browser and type localhost:8080 Enjoy Explicit Mapping  !!!!!