context:component-scan" is not bound

后端 未结 5 917
北海茫月
北海茫月 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:17

    Yes, you must add

    http://www.springframework.org/schema/context
    

    Before

    http://www.springframework.org/schema/context/spring-context-3.0.xsd
    

    So it looks like :

    
    

提交回复
热议问题