Two Laptop Bag
The moose likes Spring and the fly likes Simple Spring Mvc Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 503

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: 17224
    
    1

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Simple Spring Mvc
 
Similar Threads
Logback Teefilter sample app?
for part 2 JSF or Struts or Both
Popular web framework
Logback Teefilter sample app?
What is the soul purpose of Tapestry