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.
Add the following in the beans of dispatcher-servlet.xml file itself :
so your file looks like :