educative.io

Getting error while starting spring boot application for ecommerce project

Getting bellow error:
Getting Cannot invoke "org.springframework.web.servlet.mvc.condition.PatternsRequestCondition.toString()" because the return value of "springfox.documentation.spi.service.contexts.Orderings.patternsCondition(springfox.documentation.RequestHandler)" is null error

with spring version 2.5.4 this doesn’t work
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.4</version> <relativePath/> <!-- lookup parent from repository --> </parent>

To make it work I had to add
spring.mvc.pathmatch.matching-strategy=ant_path_matcher

can you tell me why is it so?


Course: Develop an E-Commerce App Using Java, Spring Boot and Vue.js - Learn Interactively
Lesson: Category API: List all Categories and Edit a Category - Develop an E-Commerce App Using Java, Spring Boot and Vue.js