Reputation: 666
I am trying to use both the spring-boot-starter-web and spring-boot-starter-data-elasticsearch andI am having the following when I try to render a static Swagger html page:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sun Nov 02 17:44:17 GMT 2014
How can I get the normal index page to render ? The static html page stop from been displayed when I added the compile("org.springframework.boot:spring-boot-starter-data-elasticsearch") to my dependencies.
I started with simple spring-boot-sample-web-static and it worked until added the spring-boot-starter-data-elasticsearch
Thank you. Oscar
Upvotes: 0
Views: 914
Reputation: 666
Hi I found a work around the error happends when using the command - gradle bootRun to run the execute the code But if use if use the commmand - gradle run It all works ok and the packaged jar runs without problems.
Upvotes: 0