加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Unexpected exception parsing XML document from class path re

发布时间:2020-12-16 09:39:46 所属栏目:百科 来源:网络整理
导读:Unexpected exception parsing XML document from class path resourcebean name 'cdWhEquipmentManager' f Caused by: java.lang. IllegalStateException: Annotation-specified bean name 'cdWhEquipmentManager' for bean class [com.sinoservices.wms.ba

Unexpected exception parsing XML document from class path resourcebean name 'cdWhEquipmentManager' fCaused by: java.lang.IllegalStateException: Annotation-specified bean name 'cdWhEquipmentManager' for bean class [com.sinoservices.wms.basicdata.service.impl.CdWhEquipmentManagerImpl] conflicts with existing,non-compatible bean definition of same name and class [com.sinoservices.lrms.vehicle.service.impl.CdWhEquipmentManagerImpl


今天部署项目时碰到这个错误,项目里面有2个相同的类,导致Bean冲突了。 问了joy,原来要在JAVA Build path里面添加好对应的类的路径就解决了。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读