無聊人士

          搬家==》www.soapui.cn

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            32 隨筆 :: 0 文章 :: 60 評論 :: 0 Trackbacks
          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 on 2007-04-20 10:26 mmwy 閱讀(2598) 評論(0)  編輯  收藏 所屬分類: WebWork、Struts2、FreeMarker
          主站蜘蛛池模板: 云霄县| 民和| 甘南县| 南和县| 安塞县| 陈巴尔虎旗| 禄丰县| 米脂县| 左云县| 曲周县| 津南区| 成都市| 富顺县| 化德县| 石泉县| 肇源县| 承德县| 平江县| 临夏市| 池州市| 丰都县| 乌鲁木齐市| 甘孜| 汾西县| 南昌县| 孟津县| 都昌县| 临海市| 黎川县| 峡江县| 龙泉市| 临汾市| 巴林左旗| 南平市| 泗阳县| 房山区| 自治县| 南昌市| 西乌珠穆沁旗| 襄垣县| 贡山|