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


SpringBoot集成swagger后出現: Failed to start bean ‘documentationPluginsBootstrapper‘的編譯錯誤:

org.springframework.context.ApplicationContextException:Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException

解決辦法:在啟動類加一個注解:@EnableWebMvc

參考來源:這個博客下邊的評論處

其它參考文獻:SpringBoot集成swagger后出現: Failed to start bean ‘documentationPluginsBootstrapper‘的解決方法

 
         
         
       


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM