spring boot change context path by 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=/w3spointserver.contextPath=/w3spoint Please follow and like us: