Unexpected exception parsing XML document from class path resourcebean name 'cdWhEquipmentManager' f

前端之家收集整理的这篇文章主要介绍了Unexpected exception parsing XML document from class path resourcebean name 'cdWhEquipmentManager' f前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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里面添加好对应的类的路径就解决了。

猜你在找的XML相关文章