This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Spring and the fly likes context not bount error in dispatcher-servlet.xml file : please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "context not bount error in dispatcher-servlet.xml file : please help " Watch "context not bount error in dispatcher-servlet.xml file : please help " New topic
Author

context not bount error in dispatcher-servlet.xml file : please help

jas preet
Ranch Hand

Joined: Mar 31, 2010
Posts: 76



i get a error in <context:component-scan base-package="springmvc.web"/> that the context element is not bound . i want to use annotation based controller


Thanks Jaspreet ----- Nothing is permanent
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

You're missing the xmlns:context declaration. It should look like -



-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: context not bount error in dispatcher-servlet.xml file : please help