You added the dependency in your maven pom file. But does your IDE use it?
Is your classpath truly set to that jar file?
Are you using the Eclipse Maven plugin? If so, if you right click on your project, there should be a maven option which you can choose update dependencies to update your project.
Are you also including the jar file in your war or tomcat?
Siegfried Heintze wrote:I do have another spring servlet/jsp that is working that does not use the annotations or the ContextLoader.
What would be the functions calls in java to retrieve the current list of jars in the class path that (tomcat?) is using to run my servlet? I'd like to modify this one working servlet to display the jars in the class path to confirm my earlier observations from poking around with Windows Explorer.
Karan Bhandari wrote:Try running "mvn -e eclipse:eclipse" from command line in the directory where the parent pom is located