Why does my SpringBoot SpringMVC application runs well and display on the browser when i run it using a local tomcat server But the application doesnt load on the context path whenever i run it on tomcat embedded server?
Below is the log message i do get whenver i run it on tamcat embedded server
No mapping found for HTTP request with URI [/ccbpas/WEB-INF/views/index/loginform.jsp] in DispatcherServlet with name 'dispatcherServlet'
Below is my application.properties file for the SpringBoot
server.port = 1098
server.servlet.context-path=/ccbpas
spring.datasource.url=jdbc:mysql://localhost:3306/cataloguing
spring.datasource.username=nandom
spring.datasource.password=nandom
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.mvc.view.prefix=/WEB-INF/views/
spring.mvc.view.suffix=.jsp
spring.mvc.static-path-pattern=/resources/**
What could be the problem running this same app on embedded tomcat server whereas, it works fine and displays on the browser whenever i run it using a local tomcat server.