[错误解决] Spring Boot Swagger 启动报错 getPatterns(WebMvcPatternsRequestConditionWrapper.java:56)
<dependency><groupId>io.springfox</groupId><artifactId>springfox-boot-starter</artifactId><version>3.0.0</version></dependency>[错误]at springfox.document
·
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>3.0.0</version>
</dependency>
[错误]
at springfox.documentation.spring.web.WebMvcPatternsRequestConditionWrapper.getPatterns(WebMvcPatternsRequestConditionWrapper.java:56) ~[springfox-spring-webmvc-3.0.0.jar:3.0.0]
[解决方法]
application.properties 加一句
spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER
更多推荐
已为社区贡献2条内容
所有评论(0)