I\'m trying to add a jsp page in my Spring Boot service. My problem is that every time I try to go to that page I have this:
Whitelabel Error Page
To have this in pom.xml
org.apache.tomcat.embed
tomcat-embed-jasper
provided
javax.servlet
jstl
It may be not enough.
You must not miss this.
war
Otherwise when you build the package, you will get as a jar file and that does not have JSP nor the embedded tomcat.
See runable example and its explanation here https://www.surasint.com/spring-boot-jsp/