Spring Tool Suite Eclipse is not able to deploy correctly Java EE web project when using resources folder

87 views Asked by At

Using jar as packaging, Spring Boot requires that xhtml templates be putted in the src/main/resources/META-INF/resources right? But when I start the project using Right Click -> Debug as -> Spring Boot App I have an error says me template is not found

Whitelabel Error Page

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

Wed Dec 28 11:21:09 BRST 2016
There was an unexpected error (type=Not Found, status=404).
/fichadeespera/login.jsp

When I build the project using cmd command "mvn clean package" and start it with "java -jar artifact.jar" there is no problem, it starts and shows pages correctly.

0

There are 0 answers