I have a spring boot web application it is running fine when started from the IDE(I am using Spring Tool Suite) When I deploy to an external tomcat it is showing errors in all the places. When I run it from the IDE I use http://localhost:8080/login
When I run it from the external tomcat I use http://localhost:8080/webapp/login
the challenge is that I can't even get the styles populated properly from External Tomcat where as everything is fine when run from the embedded tomcat server.
Error resolving template [folder/page], template might not exist or might not be accessible by any of the configured Template Resolvers
Is there something I am missing in the configuration? In short I can say, It seems my application is failing when I use the War Name as the application root context do i have to mention the war name in the controller while returning the views? if yes, then how? I have tried and it didn't work