I am working on a Spring Boot Web Application. I have created a controller which has a method that returns a JSP. I have that JSP located in /src/main/resources/templates/. But when I hit the corresponding endpoint, I get an error page instead of the JSP. I'm confused, where should I place my JSPs in the project to make them show up when I hit the respective endpoints.
I already have the tomcat-embed-jasper and jstl dependencies in my project.