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

后端 未结 5 878
醉话见心
醉话见心 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 04:00

    Sometime the problem is in forgetting to add namespace. you should do that in the wizard of creating the config file or in the name space tab after it been created. select the proper namespaces, in this case should be context, and save.

提交回复
热议问题