This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Spring and the fly likes Spring Webservices: FrameworkServlet exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Webservices: FrameworkServlet exception" Watch "Spring Webservices: FrameworkServlet exception" New topic

Spring Webservices: FrameworkServlet exception

Kunal Sathe
Ranch Hand

Joined: Apr 08, 2005
Posts: 49
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?


Travis Hein
Ranch Hand

Joined: Jun 06, 2006
Posts: 161
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 ?

Error: Keyboard not attached. Press F1 to continue.
Kunal Sathe
Ranch Hand

Joined: Apr 08, 2005
Posts: 49
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.

GeeCON Prague 2014
subject: Spring Webservices: FrameworkServlet exception