Unexpected exception parsing XML document from class path re
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里面添加好对应的类的路径就解决了。
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |