Description Resource Path Location Type
The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)". struts-config.xml /struts1_102/WebContent/WEB-INF line 8 XML Problem
原因:是因为是你的struts-config.xml配置文件中的标签顺序不符合dtd文件描述规范
解决:调整struts-config.xml中标签顺序,大致属性就是上面错误信息所描述的
1.data-sources
2.from-beans
3.global-exceptions
4.global-forwards
5.action-mappings
6.controller
7.message-resources
扫描二维码关注公众号,回复:
607423 查看本文章
8.plug-in