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 山風小子 閱讀(2762) 評論(7)  編輯  收藏 所屬分類: Spring
          主站蜘蛛池模板: 无极县| 横山县| 宜兰县| 观塘区| 杨浦区| 辽宁省| 治多县| 莒南县| 仁怀市| 克什克腾旗| 石河子市| 伊川县| 岳阳市| 西宁市| 朝阳县| 平阳县| 湖州市| 乐陵市| 乌兰察布市| 南投市| 咸丰县| 潮安县| 宁津县| 介休市| 凤冈县| 北宁市| SHOW| 阳西县| 巴彦县| 大港区| 泉州市| 竹北市| 武平县| 永川市| 鄂托克旗| 古丈县| 武乡县| 兴国县| 马山县| 博白县| 北碚区|