This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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: 657

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

Joined: Feb 05, 2001
Posts: 17275

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!