Annotation-specified bean name conflicts with existing, non-compatible bean def

后端 未结 13 949
再見小時候
再見小時候 2021-01-31 01:51

I\'m having a problem with some Spring bean definitions. I have a couple of context xml files that are being loaded by my main() method, and both of them contain almost exclusiv

13条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-31 02:14

    I faced this issue when I imported a two project in the workspace. It created a different jar somehow so we can delete the jars and the class files and build the project again to get the dependencies right.

提交回复
热议问题