struts2 Unable to load configuration. - action - file:/D:/Apache%20Software%20Foundation/...

六月 25, 2014 2:07:12 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load configuration. - action - file:/D:/Apache%20Software%20Foundation/Tomcat%207.0/wtpwebapps/home/WEB-INF/classes/struts.xml:10:49
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:501)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
Caused by: Unable to load configuration. - action - file:/D:/Apache%20Software%20Foundation/Tomcat%207.0/wtpwebapps/home/WEB-INF/classes/struts.xml:10:49
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489)
... 14 more
Caused by: Action class [action.inputAction] not found - action - file:/D:/Apache%20Software%20Foundation/Tomcat%207.0/wtpwebapps/home/WEB-INF/classes/struts.xml:10:49
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:482)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationPro
六月 25, 2014 2:07:12 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
六月 25, 2014 2:07:12 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/home] startup failed due to previous errors

第1个回答  2014-06-27
struts.xml 第10行有错误 仔细检查下
Action class [action.inputAction] not found

找不到这个inputAction这个类 看看类路径是否正确本回答被网友采纳
第2个回答  2014-06-26
把/home/WEB-INF/classes/struts.xml文件的配置贴出来本回答被提问者采纳
第3个回答  2014-06-25
action.inputAction这个类文件找不到
Caused by: Action class [action.inputAction] not found -
相似回答