First they ignore you
          then they ridicule you
          then they fight you
          then you win
              -- Mahatma Gandhi
          Chinese => English     英文 => 中文             
          隨筆-221  評論-1047  文章-0  trackbacks-0
          今天重拾以前一個項目時,無意間發現Spring的官方網站上已經發布2.0.3版本了,得知2.0.3對Groovy支持得更好之后,便迫不及待地試著將原本使用的Spring2.0.2升級到Spring2.0.3。不幸的是,原本在Spring2.0.2下能運行的項目,可在Spring2.0.3下就連啟動都不行了,在這個項目我用到了Spring2對Groovy的支持特性,異常信息如下:
          Configuration problem: Unable to locate NamespaceHandler for namespace [http://www.springframework.org/schema/lang]
          當我看到這個異常信息后,我立刻將Spring2.0.3中的spring-support.jar替換為Spring2.0.2中的spring-support.jar。當我再次運行工程時,一切又正常了。我現在還不知道這到底是由什么原因引起的,不過我的這點升級經驗希望對升級失敗的朋友有用,也希望知道為什么會導致發生上述異常的朋友告訴我原因,謝謝 :)


          官方回復如下:
          Have a look at the following thread: http://forum.springframework.org/showthread.php?t=35956

          It has been documented and entered in JIRA already, so a fix is on its way. In the meantime (i.e. before 2.0.4 is out) you can either stay with 2.0.2 or (for the time being) add all jars for dynamic languages to your classpath.

          Apologies for any inconvenience this may cause!

          regards,
          Alef

          Spring的這次更新的確有點草率 :)
          posted on 2007-03-16 20:02 山風小子 閱讀(2755) 評論(7)  編輯  收藏 所屬分類: Spring
          主站蜘蛛池模板: 天台县| 宜良县| 遂溪县| 包头市| 鞍山市| 凤庆县| 田东县| 永城市| 同心县| 德州市| 开江县| 普洱| 遂昌县| 彭州市| 山东| 丽水市| 射阳县| 枣阳市| 吉水县| 阳春市| 潞西市| 祁东县| 含山县| 阿拉善盟| 白山市| 台北县| 潞西市| 永新县| 江山市| 平凉市| 化州市| 长治县| 三门峡市| 海林市| 江安县| 偃师市| 定日县| 如东县| 大渡口区| 镇安县| 武川县|