• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring Webservices: FrameworkServlet exception

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

I am relatively new to Spring Webservices.

When I deployed my webservice to the local tomcat, and tried to access it, I got the following stacktrace. Seems like the FrameworkServlet class was missing. After doing some research, I located spring-mvc.jar that contains the FrameworkServlet class and added it to the classpath. After redeploying my application, I still get the same exception. Can someone help?

Thanks,
Kunal


 
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i think that class not found exception for org.springframework.web.servlet.FrameworkServlet means there is another jar file, maybe a spring-webmvc.jar or spring-servlet.jar that you also need to add to your webapp WEB-INF/lib ?

And when you added the spring-mvc.jar to the classpath, you added it to the WEB-INF/lib of your webapp right ?

 
Kunal Sathe
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Travis, thanks for your reply.
I downloaded the spring jar with dependencies from the spring website and put it in the path.
That seems to have solved the issue.

Thanks again.

Kunal
reply
    Bookmark Topic Watch Topic
  • New Topic