Failed to start bean ‘documentationPluginsBootstrapper‘;
问题描述:
原因分析:
可能是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‘;相关推荐
- Springboot集成knife4j,Failed to start bean ‘documentationPluginsBootstrapper‘;导致系统不能正常启动
Springboot集成knife4j,Springboot更新到2.6启动报错Failed to start bean 'documentationPluginsBootstrapper'; nes ...
- 解决高版本SpringBoot整合swagger时启动报错:Failed to start bean ‘documentationPluginsBootstrapper‘ 问题
一.控制台的报错信息 2021-12-29 15:15:04 [main] ERROR org.springframework.boot.SpringApplication - Application ...
- SpringBoot2.6.x集成swagger: Failed to start bean ‘documentationPluginsBootstrapper问题解决
在使用SpringBoot2.6.x集成swagger的时候,启动的时候出现了:Failed to start bean 'documentationPluginsBootstrapper 的空指针异 ...
- Failed to start bean ‘documentationPluginsBootstrapper‘ StackOverflowError
这个问题是因为项目整合了 swagger 依赖出现的 Swagger 是什么 Swagger 是通过注解的方式来生成对应的 API文档,在接口上我们需要加上各种注解来描述这个接口. Swagger 常 ...
- Swagger启动报错Failed to start bean ‘documentationPluginsBootstrapper‘
在配置类中加上: mvc:pathmatch:matching-strategy: ant_path_matcher
- 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 ...
- Failed to introspect bean class [com.company.project.controller---springcloud工作笔记168
Failed to introspect bean class [com.company.project.controller.AppVersionController] for lookup met ...
- curl: (7) Failed connect to localhost:9200; Connection refused
问题 :没有授权 curl: (7) Failed connect to localhost:9200; Connection refused 解决办法 : 修改elasticsearch.yml下的 ...
- 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 ...
- 解决错误:Error creating bean with name ‘multipartResolver‘: Failed to introspect bean class [org.springf
我在进行SpringMVC文件上传的时候遇到了这个问题,在网上找了挺久最后终于找到了解决办法,那我们就从简单的步骤开始吧 方法一:检查你是否导入相关的依赖 <dependency>< ...
最新文章
- AAAI 2021放榜:你中了几篇?
- Perl调试器的用法
- Windows7下Caffe的应用---在Win7下使用VS2015、Camke、Anaconda3配置Caffe CPU版本
- 八个老师随机分配三个办公室
- python编码和解码_Python中的编码与解码(转)
- 【产品干货】经典营销模型的产品化介绍
- jsdelivr 缓存刷新
- 2013二级计算机c语言50,2013年计算机二级C语言课后模拟题五及答案
- Python dir、__builtin__内置函数
- qgraphicsview鼠标移动图片_QGraphicsView中的QGraphicsItem鼠标拖动
- mysql cast和convert函数
- 看图纸V3.2.1正式版[看图纸正式版下载]
- 合格证标签图片_合格证图片_合格证模板_合格证设计素材下载
- 要做就做明链,这才是堂堂正正的优化之路,不要走捷径
- 14. Working with Dates and Times in R
- 【转载】极路由KMS_Activator插件使用教程
- thinkpad笔记本 刷bios失败,被救回方法
- labview事件结构的使用
- OpenCV图像颜色反转算法
- 完美解决Pytorch在Pycharm没有代码提示的问题
热门文章
- 避免内存泄露及内存的规范化使用
- Linux下MongoDB服务安装
- FindTask练习
- 11.微服务设计 --- 规模化微服务
- 4.深入分布式缓存:从原理到实践 --- Ehcache 与 Guava Cache
- 34.Linux/Unix 系统编程手册(下) -- 进程组,会话和作业控制
- 3.TCP/IP 详解卷1 --- IP:网际协议
- java爬虫技术怎么学_java网络爬虫基础学习(四)
- php中的上传全局变量 把全局变量的数组形式变得更简易
- JavaScript闭包函数的理解