This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?
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.
Joined: Apr 08, 2005
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.