Posting your whole file would help. From the last error, looks like it's a spring issue.
Peep this: http://static.springframework.org/spring/docs/1.2.9/reference/beans.html 3.19 shows the web.xml configuration for your applicationContext.xml -----Original Message----- From: john lee [mailto:sh_thorn_b...@yahoo.com] Sent: Tuesday, April 07, 2009 12:37 AM To: user@struts.apache.org Subject: configure struts 2 any expert can give me the help? i installed struts 2, but when i re-start the tomcat, and get the following error message You might need to add the following to web.xml: <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</liste ner-class> </listener> so, i did put above <listener>...</listener> into /usr/apache-tomcat-6.0.18/conf/web.xml, then restart tomcat, and get the following new error message: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml] Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml] so, i did put above <listener>...</listener> into /usr/apache-tomcat-6.0.18/webapps/tutorial/WEB_CONF/web.xml, and get new error messgae at following: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml] Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml] tks in advance john --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org