springboot整合shiro启动报错Consider renaming one of the beans or enabling overriding by setting spring.mai 程序员文章站 2022-05-28 23:30:35 ... Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true 解决办法 出现这个提示已经告诉你解决办法了 解决办法 在yml配置文件中添加配置 spring: main: allow-bean-definition-overriding: true # 当遇到同名时,是否允许覆盖注册 properties配置文件添加配置 spring.main.allow-bean-definition-overriding=true 相关标签: 常见问题 上一篇: 解决Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported 下一篇: Javascript正则RegExp对象replace方法替换url参数值 推荐阅读 springboot整合shiro启动报错Consider renaming one of the beans or enabling overriding by setting spring.mai