I am using spring boot 2.7.6 and here is the application.properties file

spring.mvc.servlet.path = /v3
spring.mvc.throw-exception-if-no-handler-found = true
spring.mvc.static-path-pattern=/documents/**
spring.web.resources.static-locations = classpath:/public/documents/

I have controller mapping as below

@RestController
@RequestMapping("/test)
public class test{

....
}

So not sure why i am getting this error on the server .

Comment From: scottfrederick

Thanks for getting in touch. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. This feels like a question that would be better suited to Stack Overflow.

If you post a question on Stack Overflow, include the details of the error you are getting and how you are deploying the application to the server.

Also note that Spring Boot 2.7 is out of open-source support. You should upgrade to a supported version when possible.