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
Author

Simple Spring Mvc

Ashwin Sridhar
Ranch Hand

Joined: Jul 09, 2011
Posts: 272

Hi,

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
SCJP | SCWCD | OCA
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 657
    
    4

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

Joined: Feb 05, 2001
Posts: 17275
    
    6

Please post your web.xml file.

Mark


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: http://aspose.com/file-tools
 
subject: Simple Spring Mvc
 
It's not a secret anymore!