無聊人士

          搬家==》www.soapui.cn

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            32 隨筆 :: 0 文章 :: 60 評論 :: 0 Trackbacks

          2007年4月20日 #

          struts 2.0.6GA開始試螃蟹,照著struts2的tag文檔寫成<@s.datetimepicker/>,結果老是報錯
          211672?[http-8080-Processor25]?ERROR?freemarker.runtime??-?
          on?line?
          7,?column?17?in?admin/index.ftl?s.datetimepicker?not?found.
          The?problematic?instruction:
          ----------
          ==>?user-directive?s.datetimepicker?[on?line?7,?column?17?in?admin/index.ftl]
          ----------

          Java?backtrace?for?programmers:
          ----------
          freemarker.core.InvalidReferenceException:?on?line?
          7,?column?17?in?admin/index.ftl?s.datetimepicker?not?found.

          試著google一下,正好有人也提交了這個bug,改成 <@s.dateTimePicker />,問題解決

          The?fix?is?as?follows:

          In?struts2-core-
          2.0.6:
          org.apache.struts2.views.freemarker.tags.StrutsModels

          has?a?method
          getDateTimePicker()

          Which?should?be?re-named:
          getDatetimepicker()

          to?match?with?the?naming?convention.


          hello,struts2.jpg
          posted @ 2007-04-20 10:26 mmwy 閱讀(2598) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 沧源| 隆子县| 兰西县| 乐安县| 加查县| 遵化市| 杨浦区| 汨罗市| 灵山县| 嘉黎县| 祁阳县| 新安县| 根河市| 桃园市| 兴宁市| 讷河市| 奇台县| 平江县| 吉木萨尔县| 安国市| 新郑市| 子长县| 南康市| 姚安县| 杭锦旗| 章丘市| 美姑县| 镇巴县| 定兴县| 义乌市| 禹城市| 封丘县| 芦溪县| 仙桃市| 兴山县| 长沙县| 临泉县| 凭祥市| 海宁市| 上杭县| 林西县|