大清早struts2的配置文件報(bào)錯(cuò)The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-ref?,default-action
意思是我在配置文件中:
result-types
interceptors
default-interceptor-ref
default-action-ref
default-class-ref
global-results
global-exception-mappings
action*(就是所有的action放到最后)
的順序有問題,仔細(xì)檢查了一遍也沒發(fā)現(xiàn)有什么錯(cuò)誤,想想是不是action里面的順序有問題,(action里面的順序是可以任意放的)最終刷新了一下頁
面好了,是IDE在作怪吧,記錄一下,以防下次再遇到。
posted on 2009-11-04 09:31
junly 閱讀(2614)
評論(0) 編輯 收藏 所屬分類:
struts2/struts1.3/JSF