gradle-tomcat-plugin
gradle-tomcat-plugin copied to clipboard
JSP from different module are not loading
I am trying to configure Gradle to use Spring Boot with multi modules, this is my structure:
------ Parent
------------ scr/main/java/config ---> Config Files
------------ scr/main/java/App ---> Spring Boot Application
------------ application.properties
------ Web
------------ scr/main/java/resources/WEB-INF ---> Template Files
------ Core
------ Services
When I start my application, I see my mapping working and it seems that everything works well but the problem is that Spring does not find my templates:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
There was an unexpected error (type=Not Found, status=404).
/WEB-INF/welcome.jsp