`

Caused by: No result type specified for result named 'error'

    博客分类:
  • ssh
阅读更多

struts action的配置文件加载失败:

Unable to load configuration. - result - file:/D:/Java/apache-tomcat-5.5.20/webapps/mysts/WEB-INF/classes/test.xml:10:26

Caused by: No result type specified for result named 'error', perhaps the parent package does not specify the result type? - result - file:/D:/Java/apache-tomcat-5.5.20/webapps/mysts/WEB-INF/classes/test.xml:10:26
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:609)

原因:忘记了继承包struts-default

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics