wood burning stoves 2.0*
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
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: 513

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


Regards, Prasad
SCJP 5 (93%)
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Please post your web.xml file.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
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