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

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

    Such type of error comes when You're missing the xmlns:context declaration but you have declared it. Check your classes in "com.web" package for any wrong coding.

提交回复
热议问题