There are two ways to set the application context path in the spring boot application. If you are using standalone tomcat server instance, it doesn't allow to use the server.servlet.context-path property. Refer to below URL:
Apache Tomcat
1 post