一.配置完所有内容后,启动服务器时失败,遇到org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper';
原因:spring boot的版本太高,将spring boot的版本改低即可
我将springboot给成2.5.7后还是报错,最后改成2.1.6.RELEASE运行成功
二.访问swagger时找不到接口,报这个异常No operations defined in spec!
虽然我扫描包的路径没有写错,但是写路径时不能用"/"分隔,需要用"."分隔
改完以后,既可以找到自己所写的接口



