context:component-scan" is not bound

后端 未结 5 907
北海茫月
北海茫月 2020-12-05 13:49

Am new to spring and I know this question has been asked many times, but I had to ask it again.

I guess,I have done appropriate namespace declarations, but still fac

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-05 14:35

    You should add xmlns:context="http://www.springframework.org/schema/context" into your beans xml.

提交回复
热议问题