cannot find class for bean with name的一种解决记录
来源:互联网 发布:西南交通网络大学是985 编辑:程序博客网 时间:2024/05/14 13:12
Annotation-specified bean name ‘xxxx' for beanclass [xxxxx] conflicts with existing, non-compatible bean definition of same name andclass [xxxx]
tomcat启动时没报错但是,我开始运行文件时就开始报错了,当时百思不得其解,我根据上面提示的文件去相应的路径中都查看过,全都在对应的位置,并没有出现找不到的情况,然后我查找了很多方法依然报错,最后无意间想到去编译后文件中去找,没想到让我发现了突破口,java编译后的文件在tomcat下的webapps下的defualt>WEBINF>classes中,具体的文件信息你们就自己根据路径去查询,然后你就会看到本来文件中没有这个文件,在编译后的文件中居然出现了,虽然无法得知出现的原因,但是只要删掉BUG就修复了!
当然类似的错误还可能引起cannot find class for bean with name的错误,所以各位在查看BUG的也去这方面看看,保不齐就能解决问题,当项目非常大之后,编译出错的问题也时常发生,希望不要忽略!
阅读全文
0 0
- cannot find class for bean with name的一种解决记录
- Cannot find class for bean with name解决
- cannot find class for bean with name ''
- cannot find class [xxx] for bean with name
- cannot find class [xxx] for bean with name
- Cannot find class [org.apache.commons.dbcp.BasicDataSource] for bean with name 'dataSource' defined
- 出现Cannot find bean name in any scope的解决办法
- Annotation-specified bean name 'drugInfoService' for bean class conflicts with existing
- SSH整合异常解决(creating bean with name 'sessionFactory' defined in class path)
- 【解决】SpringMVC整合Shiro之 Error creating bean with name 'shiroFilter' defined in class path resource...
- creating bean with name 'dataSource' defined in class path resource错误的解决办法
- SpringMVC conflicts with existing, non-compatible bean definition of same name and class 的解决办法
- SpringMVC conflicts with existing, non-compatible bean definition of same name and class 的解决办法
- SpringMVC conflicts with existing, non-compatible bean definition of same name and class 的解决办法,sprin
- Invalid bean definition with name 'dataSource' defined in class
- bean with name 'mappingJacksonHttpMessageConverter' defined in class解决办法
- 解决错误Error creating bean with name 'MySessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init
- Cannot find name 'Article'的解决方案
- HTML/CSS学习记录(6)
- itext Chunk Phrase Paragraph区别
- 项目中加入人脸识别功能
- Python3 循环
- itext设置默认NO_BORDER表格
- cannot find class for bean with name的一种解决记录
- css设置图片逐渐消失
- itext pdftemplate使用
- oracle split_for_array 用法示例
- itext使用rtf格式生成word,使用image为页眉
- jquery tree循环渲染数据,控制checkbox显示与隐藏,点击无效效果
- 创建itext document&横向打印
- 第三章:3.6 使用 Session
- 抽象工厂方法