问题描述:

***************************
APPLICATION FAILED TO START
***************************Description:The bean 'localeResolver', defined in class path resource [com/botany/spore/core/config/CommonConfig.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class] and overriding is disabled.Action:Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true

解决办法:

这个包反正也不用,直接移除,并且把pom.xml里的配置信息也删掉,即

     <dependency><groupId>com.botany</groupId><artifactId>spore-base-mvc</artifactId><version>3.0-SNAPSHOT</version></dependency>

分页查询时报错:The bean ‘localeResolver‘, defined in class path resource [com/botany/spore/core/config/Comm相关推荐

  1. springcloud项目启动时报错 The bean ‘dataSource‘, defined in class path resource

    项目启动时报错,如下: Error starting ApplicationContext. To display the conditions report re-run your applicat ...

  2. springboot easypoi 报错The bean ‘beanNameViewResolver‘, defined in class path resource [cn/afterturn/e

    亲测好用!!!!!!!!!!!!!!! 事故现场: The bean 'beanNameViewResolver', defined in class path resource [cn/aftert ...

  3. springboot easypoi 报错The bean 'beanNameViewResolver', defined in class path resource [cn/afterturn/e

    今天在用springboot easypoi 做导出导入时,配置完成后启动项目报The bean 'beanNameViewResolver', defined in class path resou ...

  4. ES分页查询时报错“Result window is too large ...”

    ES分页查询时报错"Result window is too large ..." 问题出现缘由 报错详情 错误译文 解决办法 问题出现缘由 ES 中存储了索引数据,使用 ES 可 ...

  5. The bean ‘beanNameViewResolver‘, defined in class path resource [cn/afterturn/easypoi/configuration/

    报错信息: Description: The bean 'beanNameViewResolver', defined in class path resource[cn/afterturn/easy ...

  6. The bean ‘api‘, defined in class path resource [com/common/swagger/SwaggerAutoConf

    The bean 'api', defined in class path resource [com/common/swagger/SwaggerAutoConf 1.解决办法-1 将重复的bean ...

  7. The bean ‘xxx‘, defined in class path resource , could not be registered. A bean with that name has

    springboot在配置Bean的时候,可能会出现这样的错误!!! 原因是因为相同名字的bean已经存在了. *************************** APPLICATION FAIL ...

  8. 【Spring5】Spring项目运行时报错:IOException parsing XML document from class path resource [bean.xml]

    需要把bean.xml文件放在当前module的src文件夹下,而不能是其他的package下.

  9. A bean with that name has already been defined in class path resource [.] and overriding is disabled

    A bean with that name has already been defined in class path resource [org/springframework/cloud/com ...

最新文章

  1. 产品项目的九个敏捷开发经验
  2. linux mysql内网_在Linux中mysql的一些基本操作
  3. Xilinx 在文档中所用的 LC(logic cells) 与 LUT之间的换算关系
  4. java中声明内部类变量,java – 从内部类中访问变量(dialogView),需要声明final
  5. 电脑微信不用手机确认_不用安装第三方软件,手机投屏到电脑就这么简单
  6. 隐马尔科夫模型原理解析
  7. KD Tree的原理及Python实现
  8. 华为开源数据虚拟化引擎HetuEngine;全球超算500强:中国上榜数量增加;谷歌收购云计算公司CouldSimple ……...
  9. 【SQL Sever】将SQL Sever中的一个数据表的数据导出为insert语句
  10. python开发之路---第二章之--函数之匿名函数
  11. CRNN+CTCLoss中文手写汉字识别
  12. 十个最佳方法保护Windows文件服务器
  13. block的理解 ios_iOS面试--字节跳动最新iOS开发面试题
  14. Flutter 基础Widgets之容器Container详解
  15. 阶段1 语言基础+高级_1-3-Java语言高级_09-基础加强_第3节 注解_13_注解_JDK内置注解...
  16. 电力行业巡检对讲通信系统
  17. 第一章 简介和古典密码(粗略版) - 现代密码学导论 Introduction to Modern Cryptography
  18. 实在小店在B2C平台具有一定的知名度
  19. SMI/SAMI 字幕
  20. android的otg功能,Android实现OTG功能

热门文章

  1. 建模师的前景怎么样?
  2. 理解jquery的$.extend()、$.fn和$.fn.extend()
  3. 7-1 到底是不是太胖了
  4. 如何进阶优秀数据分析师行列?方法、技术与工具,缺一不可!
  5. Spring Cloud Hystrix 服务容错保护
  6. B2B和大宗B2C企业的自媒体代运营
  7. java-语言学习-eclipse安装java汉化包
  8. 数据分析——用户粘性指标 DAU/MAU
  9. 节假日api接口之获取指定日期的节假日信息
  10. JOL探索synchronized锁-子路老师