The prefix “context” for element “context:component-scan” is not bound

后端 未结 5 863
醉话见心
醉话见心 2020-12-30 03:14

I am working on spring3 mvc and came up with this error

org.xml.sax.SAXParseException: The prefix \"context\" for element \"context:component-scan\" is not bound.

5条回答
  •  死守一世寂寞
    2020-12-30 03:47

    When you're create spring-configuration.xml file you can follow these steps.After enter the name click "Next" now so many check boxes available the you can select 'bean','mvc','context','p'.no need to select downstairs shows some check boxes.because it will select default settings which is your eclipse/spring support.

    Thanks,

提交回复
热议问题