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 山風小子 閱讀(2766) 評論(7)  編輯  收藏 所屬分類: Spring
          主站蜘蛛池模板: 门源| 绥宁县| 玉林市| 商洛市| 泰兴市| 天台县| 河南省| 龙岩市| 九龙城区| 资阳市| 吉安县| 景宁| 上高县| 光山县| 水城县| 大港区| 淮安市| 诸暨市| 惠东县| 久治县| 甘德县| 乐业县| 长丰县| 兴城市| 临海市| 葫芦岛市| 庄浪县| 金昌市| 长丰县| 保山市| 宜兰市| 赤水市| 马边| 三原县| 汝阳县| 蒲城县| 托克逊县| 石首市| 察隅县| 太仆寺旗| 宜都市|