分页查询时报错:The bean ‘localeResolver‘, defined in class path resource [com/botany/spore/core/config/Comm
问题描述:
*************************** 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相关推荐
- springcloud项目启动时报错 The bean ‘dataSource‘, defined in class path resource
项目启动时报错,如下: Error starting ApplicationContext. To display the conditions report re-run your applicat ...
- springboot easypoi 报错The bean ‘beanNameViewResolver‘, defined in class path resource [cn/afterturn/e
亲测好用!!!!!!!!!!!!!!! 事故现场: The bean 'beanNameViewResolver', defined in class path resource [cn/aftert ...
- springboot easypoi 报错The bean 'beanNameViewResolver', defined in class path resource [cn/afterturn/e
今天在用springboot easypoi 做导出导入时,配置完成后启动项目报The bean 'beanNameViewResolver', defined in class path resou ...
- ES分页查询时报错“Result window is too large ...”
ES分页查询时报错"Result window is too large ..." 问题出现缘由 报错详情 错误译文 解决办法 问题出现缘由 ES 中存储了索引数据,使用 ES 可 ...
- The bean ‘beanNameViewResolver‘, defined in class path resource [cn/afterturn/easypoi/configuration/
报错信息: Description: The bean 'beanNameViewResolver', defined in class path resource[cn/afterturn/easy ...
- 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 ...
- The bean ‘xxx‘, defined in class path resource , could not be registered. A bean with that name has
springboot在配置Bean的时候,可能会出现这样的错误!!! 原因是因为相同名字的bean已经存在了. *************************** APPLICATION FAIL ...
- 【Spring5】Spring项目运行时报错:IOException parsing XML document from class path resource [bean.xml]
需要把bean.xml文件放在当前module的src文件夹下,而不能是其他的package下.
- 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 ...
最新文章
- 产品项目的九个敏捷开发经验
- linux mysql内网_在Linux中mysql的一些基本操作
- Xilinx 在文档中所用的 LC(logic cells) 与 LUT之间的换算关系
- java中声明内部类变量,java – 从内部类中访问变量(dialogView),需要声明final
- 电脑微信不用手机确认_不用安装第三方软件,手机投屏到电脑就这么简单
- 隐马尔科夫模型原理解析
- KD Tree的原理及Python实现
- 华为开源数据虚拟化引擎HetuEngine;全球超算500强:中国上榜数量增加;谷歌收购云计算公司CouldSimple ……...
- 【SQL Sever】将SQL Sever中的一个数据表的数据导出为insert语句
- python开发之路---第二章之--函数之匿名函数
- CRNN+CTCLoss中文手写汉字识别
- 十个最佳方法保护Windows文件服务器
- block的理解 ios_iOS面试--字节跳动最新iOS开发面试题
- Flutter 基础Widgets之容器Container详解
- 阶段1 语言基础+高级_1-3-Java语言高级_09-基础加强_第3节 注解_13_注解_JDK内置注解...
- 电力行业巡检对讲通信系统
- 第一章 简介和古典密码(粗略版) - 现代密码学导论 Introduction to Modern Cryptography
- 实在小店在B2C平台具有一定的知名度
- SMI/SAMI 字幕
- android的otg功能,Android实现OTG功能
热门文章
- 建模师的前景怎么样?
- 理解jquery的$.extend()、$.fn和$.fn.extend()
- 7-1 到底是不是太胖了
- 如何进阶优秀数据分析师行列?方法、技术与工具,缺一不可!
- Spring Cloud Hystrix 服务容错保护
- B2B和大宗B2C企业的自媒体代运营
- java-语言学习-eclipse安装java汉化包
- 数据分析——用户粘性指标 DAU/MAU
- 节假日api接口之获取指定日期的节假日信息
- JOL探索synchronized锁-子路老师