Failed to start bean 'documentationPluginsBootstrapper' spring Boot集成swagger2报错

spring集成swagger2报错

使用idea生成springboot项目后pom文件springboot使用版本2.6.4,自定义引入swagger使用版本2.9.2

发现是springboot版本太高,缺少swagger运行所需要的环境

将springboot版本降到2.5.1或者2.5.0后正常启动

切记pom修改后,要重新加载maven


临时解决方案,如有更好的解决方式,望分享,共同进步!

你可能感兴趣的:(Failed to start bean 'documentationPluginsBootstrapper' spring Boot集成swagger2报错)