Home > OS >  spring boot application running but endpoint throwing 404
spring boot application running but endpoint throwing 404

Time:01-23

I was trying my hand at writing a sample Spring Boot application.

My initial thought was it's an easy example to follow and write but I am not able to print a simple statement upon hitting my endpoint.

I don't want to use any view (HTML,JSP etc) right now as I want to learn the backend first.

I have followed:

  • URL not present error

    Got the following exception at console:

    Spring boot Circular view error

    CodePudding user response:

    So the solution as pointed out by xerx593 is below:

    1. Make sure to select packaging as war/jar in 8080 listening

      application properties file

  •  Tags:  
  • Related