首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

struts2的配置文件中The content of element type "package" must match.

2012-10-24 
struts2的配置文件中The content of element type package must match...异常:“The content of element

struts2的配置文件中The content of element type "package" must match...

异常:“The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,default-class-ref?,global-results?,global-exception-mappings?,action*)". ”


出错原因:package里元素必须按照一定的顺序排列。这个顺序就是


result-types

interceptors
default-interceptor-ref
default-action-ref
default-class-ref
global-results
global-exception-mappings
action*

?

热点排行