原文:SpringBoot集成swagger后出現: Failed to start bean ‘documentationPluginsBootstrapper‘的解決方法

SpringBoot集成swagger后出現: Failed to start bean documentationPluginsBootstrapper 的編譯錯誤: 解決辦法:在啟動類加一個注解: EnableWebMvc 參考來源:這個博客下邊的評論處 其它參考文獻:SpringBoot集成swagger后出現: Failed to start bean documentationPlugi ...

2021-12-12 19:17 2 16508 推薦指數:

查看詳情

Swagger 報錯 Failed to start bean 'documentationPluginsBootstrapper'

錯誤原因: 可能是版本不匹配造成,我的 spring boot 是 2.6.0 而 spring cloud 版本需要這樣對照, 不能進行降級, 所以這樣配置. pom依賴 啟動類: 這樣配置可能會造成 swagger 的 ui 頁面無法打開所以需要下面配置,這個是在 https ...

Thu Dec 09 00:38:00 CST 2021 0 737
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM