Quantcast
Channel: Active questions tagged servlets - Stack Overflow
Viewing all articles
Browse latest Browse all 675

Issue in spring boot 2.7.6 returning NoHandlerException for GET '/v3/test/'

$
0
0

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

spring.mvc.servlet.path = /v3spring.mvc.throw-exception-if-no-handler-found = truespring.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 .

I have Tried adding new SecurityFilterChain and webSecurityCustomizer as well in the project. As WebSecurityConfigureAdapter is deprecated in spring boot 2.7.6


Viewing all articles
Browse latest Browse all 675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>