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

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

    You may lost this profile which is : xmlns:context="http://www.springframework.org/schema/context". Please write it.

提交回复
热议问题