I have written simple spring mvc example. I am getting error
"java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet"in console,when web.xml is loaded in tomcat.
i am using eclipse3.6,spring 3.0,tomcat6.0
if anybody is having an idea to resolve this problem, help me to solve this problem.
Thanks for responding. problem resolved. previously i added jar files in classpath. i moved those files into web-inf/lib.
Use Maven and configure the dependencies in the pom.xml file, Maven does all the hard work for you. You don't have to copy and mange all those jar files, Maven does all the work for you when you configure the build part in the pom file.
"Your life is in your hands, to make of it what you choose."
It is an experimental device that will make my mind that most powerful force on earth! More powerful than this tiny ad!