user6554564
user6554564

Reputation:

Error in Running Spring Boot Application

I have a Spring Boot application, ready to be run in STS(Spring Tool Suite)

I followed [This][1]

[1]: http://docs.spring.io/spring-boot/docs/current/reference/html/howto-traditional-deployment.html link.

I'm getting a WhiteLabel Error :

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Mon Aug 29 11:46:52 IST 2016
There was an unexpected error (type=Not Found, status=404).
No message available

Is it because I'm running it on the Pivotal Server?

SHould I use Tomcat?

Or it doesn't matter?

Upvotes: 1

Views: 273

Answers (1)

Pratik Patel
Pratik Patel

Reputation: 61

Please ensure that your RequestMapping for the index page, and its corresponding method, both are in the same file as the main method.

Upvotes: 1

Related Questions