Build failure

#5 · closed · 2 comments

View on GitHub ↗

sanjanar06

Hi I was trying to run the app according to the readme but i've encountered an error. Executing the ./gradlew bootRun results in the error: <img width="908" alt="image" src="https://github.com/shirohoo/realworld-java21-springboot3/assets/83460113/63254625-d3a5-4760-865e-13472cebadd6"> `This method cannot decide whether these patterns are Spring MVC patterns or not. If this endpoint is a Spring MVC endpoint, please use requestMatchers(MvcRequestMatcher); otherwise, please use requestMatchers(AntPathRequestMatcher).`

Comments

sanjanar06

Im unsure how to change the SecurityConfigurations class to add antMatchers if that is the solution to this error..

sanjanar06

Nvm, it was because of a code change from my end. The code in the repository works fine as it is.