X

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  !!!!!

girjesh:

View Comments (22)

  • 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.

  • Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

  • 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.

  • Howdy! Do you know if they make any plugins to help with
    SEO? I'm trying to get my website to rank for some targeted keywords
    but I'm not seeing very good results. If you know of any please
    share. Appreciate it! You can read similar art here: Bij nl

  • When you go reusable, though, cleansing with cleaning soap and scorching water after each use is crucial.

  • You need to take part in a contest for one of the best sites on the web. I most certainly will recommend this site!

  • You need to take part in a contest for one of the highest quality websites on the internet. I most certainly will recommend this website!

  • Pretty! This was a really wonderful post. Thanks for supplying this information.

Related Post