Pulsara Sandeepa
Pulsara Sandeepa

Reputation: 945

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 https://start.spring.io/ and when I am going to run the application It shows the below White Label error page. It has only the newly created Application.java file. It's great pleasure to expect an answer from you!

enter image description here

Application.java

package com.markdown.auth.application;

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

@SpringBootApplication
public class Application {

public static void main(String[] args) {
    SpringApplication.run(Application.class, args);
  }

}

Upvotes: 0

Views: 2162

Answers (2)

SYED MUSTAFA HUSSAIN
SYED MUSTAFA HUSSAIN

Reputation: 481

You can add End Points means Controler and BL in which what you want. https://spring.io/guides/gs/rest-service/ go through this link

Upvotes: 2

Muxammed Gafarov
Muxammed Gafarov

Reputation: 66

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

Upvotes: 2

Related Questions