aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
spring security 3.1 login not working.
Error: ERROR initServletBean, Context initialization failed
spring wont inject the entitymanager
Error in Context xml file - cvc-complex-type.2.4.c:
Junit + ContextConfiguration