problem encountered during text search

Eclipse全局搜索错误解决
本文介绍了解决Eclipse中全局搜索(Ctrl+H)时出现的错误提示resourceisoutofsyncwiththefilesystem的方法。该问题通常由于在Eclipse外部修改了项目资源引起,手动刷新项目即可避免此错误。
 每次全局搜索(Ctrl+H)的时候都会报这个错,点击确定还可以进行,原因是文件系统不同步问题resource is out of sync with the file system。是因为在eclipse之外对工程中的resource进行修改引起的,手动刷新一下项目就不会出现错误了
分析错误:> Task :hd-todo-integration-server:bootRun 2025-05-28T13:00:51.449+08:00 WARN 2532 --- [todo-integration-server] [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Invalid bean definition with name 'utEsReadFailCmdDao' defined in com.hd.rcugrc.ut.client.dao.UtEsReadFailCmdDao defined in : Cannot register bean definition [Root bean: class [com.hd.rcugrc.data.jpa.GenericRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodNames=null; destroyMethodNames=null; defined in com.hd.rcugrc.ut.client.dao.UtEsReadFailCmdDao defined in ] for bean 'utEsReadFailCmdDao' since there is already [Root bean: class [com.hd.rcugrc.data.jpa.GenericRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodNames=null; destroyMethodNames=null; defined in com.hd.rcugrc.ut.client.dao.UtEsReadFailCmdDao defined in ] bound. Offending resource: URL [jar:file:/E:/pro/mvn_eclipse/repository/com/hd/app/hd-todo-client/8.1.0.31-JDK17/hd-todo-client-8.1.0.31-JDK17.jar!/META-INF/spring/app-ut-client.xml] 2025-05-28T13:00:51.526+08:00 ERROR 2532 --- [todo-integration-server] [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: The bean 'utEsReadFailCmdDao', defined in com.hd.rcugrc.ut.client.dao.UtEsReadFailCmdDao defined in , could not be registered. A bean with that name has already been defined in com.hd.rcugrc.ut.client.dao.UtEsReadFailCmdDao defined in and overriding is disabled. Action: Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
最新发布
05-29
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值