錯誤信息問題
The unique identifier for a bean. A bean id may not be used more than once within the same
?<beans> element.
在使用構(gòu)造器裝配的時候,xml service的配置就會報這個錯,但我在測試中還是得到的想要的結(jié)果,這是什么原因?
The unique identifier for a bean. A bean id may not be used more than once within the same
?<beans> element.
在使用構(gòu)造器裝配的時候,xml service的配置就會報這個錯,但我在測試中還是得到的想要的結(jié)果,這是什么原因?
2016-12-15
舉報
2016-12-15
在同一個配置文件中,bean 的id是唯一的,你的id沖突了。