我用MyEclipse配置了Struts应用,启动Tomcat时报错:
....
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2005-7-25 11:46:14 org.apache.struts.action.ActionServlet handleConfigException
严重: Parsing error processing resource path
java.net.UnknownHostException: struts.apache.org
......
而访问页面时又报错:
............
javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
...........
请问这是什么回事?
------解决方法--------------------------------------------------------
看看你的struts-config.xml文件的描述,是否正确。
------解决方法--------------------------------------------------------
配置 TOMCAT_HOME