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