IDEA报错之Failed to start bean ‘documentationPluginsBootstrapper‘问题及解决方案

笔者今日创建一个Spring Boot 项目准备做产品,基于IDEA搭建是非常容易的,但是万万没想到,居然一切顺理成章的创建之后,运行报错,非常痛惜,错误截图如下:

IDEA报错之Failed to start bean ‘documentationPluginsBootstrapper‘问题及解决方案_第1张图片

核心错误:

Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException

测试经过:

检查之前创建的框架结构,检查各种注解及相关代码,都正常,应该是没有问题的。

把之前创建的Swagger2依赖移除,因为就这块代码配置是最后一步,想着从后往前的测试方法检查,至于这是什么,不必多讲,非常出名了,不过我还是喜欢2.7.0旧版,最新的应该2.9.2吧,比较扁平化点。

 
            io.springfox
            springfox-swagger2
            2.7.0
        

你可能感兴趣的:(面试,学习路线,阿里巴巴,intellij-idea,java,spring,boot,开发语言,后端)