`
weigang.gao
  • 浏览: 472430 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论

The content of element type "struts-config" must match "(data-sources?,form-bean

 
阅读更多

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

           8.plug-in

    

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics