I have been trying to resolve the following error and haven't had any luck. Can someone please help?
I am trying to run an application in Spring and tomcat. I run a jsp file which redirects to an html file.
The dispatcher-servlet.xml is supposed to run a servlet for all html files. When the servlet is called, I get the following error.
The dispatcher-servlet.xml is supposed to run a servlet for all html files.
What do you men by this?
Spring runs no servlets by itself. It has a single servlet called as front controller. Do you mean controllers when you you say servlets?
By the way exception tells that spring related jars are not present in the classpath. Probably in your Application/WEB-INF/lib folder
Yogesh Vaze
Greenhorn
Joined: Aug 29, 2011
Posts: 2
posted
0
Yes, I meant the controller servlet.
Which jar files do I need to resolve the EnvironmentAware issue?
I can't find the jar file online though.
Thanks for your reply.
apurav chauhan
Greenhorn
Joined: Aug 07, 2010
Posts: 21
posted
0
org.springframework.context.EnviornmentAware is added in Spring 3.1.
Did you check spring-context-3.1.jar. I think it should be there. Not quite sure about the change done in 3.1