File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Simple Spring Mvc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Simple Spring Mvc" Watch "Simple Spring Mvc" New topic

Simple Spring Mvc

Ashwin Sridhar
Ranch Hand

Joined: Jul 09, 2011
Posts: 272


i am creating a simple Spring Mvc. Html -> Controller -> jsp.

i return the jsp as a ModelAndView Object.

i encountered the following exception.

java.lang.NoSuchMethodError: org.springframework.web.context.ConfigurableWebApplicationContext.setConfigLocation(Ljava/lang/String;)V

Any help on this

Ashwin Sridhar
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 662

Without any code here.. how would you think, we can help you.. please TellTheDetails
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Please post your web.xml file.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Ashwin Sridhar
Ranch Hand

Joined: Jul 09, 2011
Posts: 272

It was an issue with Jar mismatch.
Thanks for response
I agree. Here's the link:
subject: Simple Spring Mvc
It's not a secret anymore!