问题描述:
原因分析:
可能是springboot版本和swagger不兼容,导致某些东西加载不出来

解决办法:加个WebMvcConfig类

@Configuration
public class WebMvcConfigurer extends WebMvcConfigurationSupport {@Overridepublic void addResourceHandlers(ResourceHandlerRegistry registry) {registry.addResourceHandler("/**").addResourceLocations("classpath:/static/");registry.addResourceHandler("swagger-ui.html").addResourceLocations("classpath:/META-INF/resources/");registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/");super.addResourceHandlers(registry);}
}

Failed to start bean ‘documentationPluginsBootstrapper‘;相关推荐

  1. Springboot集成knife4j,Failed to start bean ‘documentationPluginsBootstrapper‘;导致系统不能正常启动

    Springboot集成knife4j,Springboot更新到2.6启动报错Failed to start bean 'documentationPluginsBootstrapper'; nes ...

  2. 解决高版本SpringBoot整合swagger时启动报错:Failed to start bean ‘documentationPluginsBootstrapper‘ 问题

    一.控制台的报错信息 2021-12-29 15:15:04 [main] ERROR org.springframework.boot.SpringApplication - Application ...

  3. SpringBoot2.6.x集成swagger: Failed to start bean ‘documentationPluginsBootstrapper问题解决

    在使用SpringBoot2.6.x集成swagger的时候,启动的时候出现了:Failed to start bean 'documentationPluginsBootstrapper 的空指针异 ...

  4. Failed to start bean ‘documentationPluginsBootstrapper‘ StackOverflowError

    这个问题是因为项目整合了 swagger 依赖出现的 Swagger 是什么 Swagger 是通过注解的方式来生成对应的 API文档,在接口上我们需要加上各种注解来描述这个接口. Swagger 常 ...

  5. Swagger启动报错Failed to start bean ‘documentationPluginsBootstrapper‘

    在配置类中加上: mvc:pathmatch:matching-strategy: ant_path_matcher

  6. Ljava/lang/Class o.s.c.support.DefaultLifecycleProcessor : Failed to stop bean ‘quartzScheduler‘

    2020-12-19 07:59:58.273 WARN 1 - [ Thread-14] o.s.c.support.DefaultLifecycleProcessor : Failed to st ...

  7. Failed to introspect bean class [com.company.project.controller---springcloud工作笔记168

    Failed to introspect bean class [com.company.project.controller.AppVersionController] for lookup met ...

  8. curl: (7) Failed connect to localhost:9200; Connection refused

    问题 :没有授权 curl: (7) Failed connect to localhost:9200; Connection refused 解决办法 : 修改elasticsearch.yml下的 ...

  9. Failed to obtain JDBC Connection; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsEx

    我的是再宿主机连接虚拟机的时候报的这个错 The last packet sent successfully to the server was 0 milliseconds ago. The dri ...

  10. 解决错误:Error creating bean with name ‘multipartResolver‘: Failed to introspect bean class [org.springf

    我在进行SpringMVC文件上传的时候遇到了这个问题,在网上找了挺久最后终于找到了解决办法,那我们就从简单的步骤开始吧 方法一:检查你是否导入相关的依赖 <dependency>< ...

最新文章

  1. AAAI 2021放榜:你中了几篇?
  2. Perl调试器的用法
  3. Windows7下Caffe的应用---在Win7下使用VS2015、Camke、Anaconda3配置Caffe CPU版本
  4. 八个老师随机分配三个办公室
  5. python编码和解码_Python中的编码与解码(转)
  6. 【产品干货】经典营销模型的产品化介绍
  7. jsdelivr 缓存刷新
  8. 2013二级计算机c语言50,2013年计算机二级C语言课后模拟题五及答案
  9. Python dir、__builtin__内置函数
  10. qgraphicsview鼠标移动图片_QGraphicsView中的QGraphicsItem鼠标拖动
  11. mysql cast和convert函数
  12. 看图纸V3.2.1正式版[看图纸正式版下载]
  13. 合格证标签图片_合格证图片_合格证模板_合格证设计素材下载
  14. 要做就做明链,这才是堂堂正正的优化之路,不要走捷径
  15. 14. Working with Dates and Times in R
  16. 【转载】极路由KMS_Activator插件使用教程
  17. thinkpad笔记本 刷bios失败,被救回方法
  18. labview事件结构的使用
  19. OpenCV图像颜色反转算法
  20. 完美解决Pytorch在Pycharm没有代码提示的问题

热门文章

  1. 避免内存泄露及内存的规范化使用
  2. Linux下MongoDB服务安装
  3. FindTask练习
  4. 11.微服务设计 --- 规模化微服务
  5. 4.深入分布式缓存:从原理到实践 --- Ehcache 与 Guava Cache
  6. 34.Linux/Unix 系统编程手册(下) -- 进程组,会话和作业控制
  7. 3.TCP/IP 详解卷1 --- IP:网际协议
  8. java爬虫技术怎么学_java网络爬虫基础学习(四)
  9. php中的上传全局变量 把全局变量的数组形式变得更简易
  10. JavaScript闭包函数的理解