原因就是byType类型只能是is-a的关系
Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'com.bjpowernodeyushuxingPrimarySchool.School' available: expected single matching bean but found 2: school,mySchool2
Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'com.bjpowernodeyushuxingPrimarySchool.School' available: expected single matching bean but fou
猜你喜欢
转载自www.cnblogs.com/Koma-vv/p/12109928.html
今日推荐
周排行