This application has no explicit mapping for /error, so you are seeing this as a fallback. In my newly created Spring boot application

I am a beginner to Spring boot. When I created a spring boot application from and when I am going to run the application It shows the below White Label error page. It has only the newly created file. It’s great pleasure to expect an answer from you!

enter image description here

package com.markdown.auth.application;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

public class Application {

public static void main(String[] args) {, args);



You have to add controllers and endpoints,which will return to you information that you want. Without these you’ll get 404 error