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

You may also like...

7 Responses

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

  2. Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me. https://accounts.binance.info/register?ref=P9L9FQKY

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

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

  5. eco bij says:

    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

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

  7. Your article helped me a lot, is there any more related content? Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *