The error is spring boot version 2.6 or above and springfox swagger version 3.0 Compatibility issues with 0
Solution:
- Downgrade springboot to 2.5.X and below
- In the configuration in the spring configuration file: spring.mvc.pathmatch.matching-strategy=ant_path_matcher
- However, the springfox bug has lasted for a long time and the team has not resolved it. So I suggest you use spring doc as a replacement
Similar Posts:
- SpringBoot2.6 Use springfox Error: documentationPluginsBootstrapper
- [Solved] Springboot integrate swagger Error: failed to start bean ‘documentationpluginsboot
- [Solved] Swagger Error: Failed to start bean ‘documentationPluginsBootstrapper’
- [Solved] Whitelabel page error when using Swagger2 in SpringBoot
- Springboot Error: Failed to configure a DataSource: ‘url’ attribute is not specified and no embedd
- This application has no explicit mapping for /error, so you are seeing this as a fallback.
- [Solved] Springboot Error: Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
- [Solved] Springboot Integrate Swagger2 3.0.0 Error: Failed to start bean ‘documentationPluginsBootstrapper’
- How to Solve Error: spring-boot-maven-plugin not found
- Two ways to implement Spring Boot’s scanmapper interface class