spring boot change context path

Spring boot change context path

Default context path in spring boot application is “/”. We can change it by overriding the default port in the application.properties file.

server.contextPath=/w3spoint
Please Share