3.1K Star 33.8K Fork 24.1K

若依 / RuoYi-Vue

 / 详情

Spring Boot 2.5.15 升级到 Spring Boot 2.7.18 报错

待办的
创建于  
2024-04-29 15:14

Description:

Field permitAllUrl in com.colorful.framework.config.SecurityConfig required a single bean, but 2 were found:
- requestMappingHandlerMapping: defined by method 'requestMappingHandlerMapping' in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]
- controllerEndpointHandlerMapping: defined by method 'controllerEndpointHandlerMapping' in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/servlet/WebMvcEndpointManagementContextConfiguration.class]

Action:

Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @乐乐 to identify the bean that should be consumed

评论 (0)

Tellsea 创建了任务

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
1934723 tellsea 1578962689
JavaScript
1
https://gitee.com/y_project/RuoYi-Vue.git
git@gitee.com:y_project/RuoYi-Vue.git
y_project
RuoYi-Vue
RuoYi-Vue

搜索帮助

53164aa7 5694891 3bd8fe86 5694891