無聊人士

          搬家==》www.soapui.cn

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

          2007年4月20日 #

          struts 2.0.6GA開始試螃蟹,照著struts2的tag文檔寫成<@s.datetimepicker/>,結(jié)果老是報錯
          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 閱讀(2606) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 濮阳县| 桂阳县| 新民市| 绵竹市| 尚志市| 滦南县| 攀枝花市| 五原县| 于都县| 清新县| 泰州市| 建瓯市| 孝感市| 汕尾市| 金沙县| 富民县| 武定县| 道孚县| 繁峙县| 酒泉市| 孝义市| 岳普湖县| 敦化市| 衡东县| 台州市| 岚皋县| 沁阳市| 渑池县| 莫力| 景宁| 汕头市| 东乡| 玉溪市| 黑河市| 女性| 巴南区| 普兰县| 读书| 曲阜市| 浦城县| 安国市|