The springboot integration swagger2 reported an error. The attempt to reduce the springboot version is invalid
Solution: Configuration in application.properties:
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
Because the path matching used by Springfox is based on AntPathMatcher, while Spring Boot 2.6.X uses PathPatternMatcher.
Read More:
- [Solved] Springboot integrate swagger error: Failed to start bean ‘documentationPluginsBootstrapper‘
- [Solved] Springboot integrate swagger error: failed to start bean ‘documentationpluginsbootstrapper‘
- [Solved] swagger Failed to start bean ‘documentationPluginsBootstrapper‘; nested exception is java.lang.NullP
- [Solved] ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper‘;
- [Solved] Failed to start bean ‘documentationPluginsBootstrapper‘; nested exception is java.lang.NullPointerEx
- Failed to start bean ‘documentationPluginsBootstrapper‘ [How to Solve]
- [Solved] Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException
- Springboot2.6X version integrate knife4j error [How to Solve]
- springboot Integrate mybatis Error: Error creating bean with name ‘deptController‘: Unsatisfied dependency expresse
- Springboot2.6.X configurate swagger error [How to Solve]
- Springboot error about swagger startup [How to Solve]
- [Solved] SpringBoot Integrate ES Error: Elasticsearch health check failed
- SpringBoot+Swagger Error: 403 Forbidden [How to Solve]
- [Solved] Springboot Error: swagger-UI/index.html Access Error 404
- [Solved] Failed to start bean ‘eurekaAutoServiceRegistration‘; nested exception is java.lang.NullPointerExce
- SpringBoot Startup Error: Failed to start component [Connector[HTTP/1.1-8080]]
- Springboot mybatis Integrate Error: Invalid bound statement (not found): com…DepartmentMapper.save
- How to Solve error creating bean with name when springboot starts
- [Solved] SpringBoot Startup Error: Description:Web server failed to start. Port 9090 was already in use.(win10)
- Springboot reports an error After adding the import annotation: application failed to start