问题:swagger配置好以后,过滤器也设置了允许匿名访问。但是访问接口地址报404: This application has no explicit mapping for /error, so you are seeing this as a fallback. 一种可能的原因:未给swagger配置资源路径…
一、版本
springfox不要使用3.3.0,这个版本太高,和spring其他组件不兼容,swagger-ui.html页面都出不来,推荐使用2.9.2。
二、包扫描
页面出来了,但是显示:No operations defined in spec!。这说明你的配…