首页 > 其他分享 >解决:Failed to start bean 'documentationPluginsBootstrapper'

解决:Failed to start bean 'documentationPluginsBootstrapper'

时间:2023-04-04 15:25:54浏览次数:39  
标签:start AntPathMatcher Failed bean 解决 documentationPluginsBootstrapper

原因:在springboot2.6.0以后将SpringMVC 默认路径匹配策略从AntPathMatcher 更改为PathPatternParser,导致出错,解决办法是切换会原先的AntPathMatcher。

解决:
配置文件中加上

spring:
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher

 

标签:start,AntPathMatcher,Failed,bean,解决,documentationPluginsBootstrapper
From: https://www.cnblogs.com/tszr/p/17286502.html

相关文章

  • Typora配置PicGo时,提示Failed to fetch
    两者配置的端口不一致造成的打开Typora,选择文件-偏好设置-图像-验证图片上传选项,点击验证图片上传选项会提示错误:Failedtofetch,此时可以发现typora中设置的上传端口为366771.先检查监听端口是否一致打开PigGo,选择PicGo设置-设置server,会发现监听端口为36678修改监听接口......
  • 【转载】failed to open /dev/dri/renderd128 permission denied
    原文地址:https://juejin.cn/s/failed%20to%20open%20%2Fdev%2Fdri%2Frenderd128%20permission%20denied  =======================================================   这是在Linux系统中遇到的一个常见错误,表示当前用户没有权限打开设备文件/dev/dri/renderd128......
  • 在Spring中如何通过BeanFactoryPostProcessor和BeanPostProcessor来做一点好玩的事情
    在Spring中如何通过BeanFactoryPostProcessor和BeanPostProcessor来做一点好玩的事情介绍BeanFactoryPostProcessor跟BeanPostProcessor是Spring为开发者提供的在Bean加载时候的扩展点。灵活的运用这两个扩展点可以帮助我们做一些好玩的事情,它们为我们提供了无限的扩展能力。Be......
  • Spring 类型转换详解,SpringBean创建时属性类型转换源码详解
    文章目录一、概述1、Spring类型转换的实现2、使用场景3、源码分析二、基于JavaBeans接口的类型转换1、代码实例2、Spring內建PropertyEditor扩展ByteArrayPropertyEditor3、自定义PropertyEditor扩展整合到springframework代码实例SpringPropertyEditor的设计缺陷三、Spr......
  • php遇到failed to open stream: Permission denied
    Uncaughtexception'think\exception\ErrorException'withmessage'error_log(/www/api/public/../runtime/log/201611/29.log):failedtoopenstream:Permissiondenied'in/www/api/thinkphp/library/think/log/driver/File.php当赋权限后当天可以,但是......
  • NetBeans VS Eclipse,新一轮的争端
    www.theserverside.com,www.javalobby.org,dev2dev论坛等多个Java论坛上争论着一个非常激烈的话题:WhyEclipseDevelopersAreMovingToNetBeans(为什么Eclipse开发者正在转向NetBeans)。不知道是什么原因,如此简单的争端到了后来也会有些发霉的味道。不能否认,这些言论最......
  • MyBatis-Spring包自动扫描MyBatis Mapper接口并将其注册为Spring Bean
    学习spring整合mybatis时,写SQL语句的Mapper接口明明没有任何被spring接管的痕迹(前面没有注解)但在serviceimpl类中却可以被自动装载。 BookDao.java(mapper接口类):packagecom.itheima.dao;importcom.itheima.domain.Book;importorg.apache.ibatis.annotations.Delete;imp......
  • BeanFactory与ApplicationContext的区别
      BeanFactory与ApplicationContext的区别?一、BeanFactory和ApplicationContext接口及其子类图​编辑二、概述BeanFactory和ApplicationContext是Spring的两大核心接口,都可以当做Spring的容器。其中ApplicationContext是BeanFactory的子接口。BeanFactory:BeanFactor......
  • BeanFactory与ApplicationContext的区别
    BeanFactory与ApplicationContext的区别?一、BeanFactory和ApplicationContext接口及其子类图 二、概述BeanFactory和ApplicationContext是Spring的两大核心接口,都可以当做Spring的容器。其中ApplicationContext是BeanFactory的子接口。BeanFactory:BeanFactory是Spring......
  • spring之自动装配bean
    ​ 1、通过xml设置自动装配:实体类: xml文件: autowire可改为:autowire="byType" 2、通过注解方式实现自动装配:先加入约束:xmlns:context="http://www.springframework.org/schema/context"加上标签开启:<context:annotation-config/> xml文件: 实体类......