posts - 54,  comments - 1,  trackbacks - 0

          下午在試用JDom操作XML時(shí),老是跑出一個(gè)異常:

          org.jdom.JDOMException: java.lang.VerifyError: (class: org/jaxen/jdom/DocumentNavigator, method: getTextStringValue signature: (Ljava/lang/Object;)Ljava/lang/String;) Incompatible object argument for function call: (class: org/jaxen/jdom/DocumentNavigator, method: getTextStringValue signature: (Ljava/lang/Object;)Ljava/lang/String;) Incompatible object argument for function call
          查了好久,終于找到下面一段話,指出方向:

           原文截?。?/FONT>

          Now, I tried to find the class TransformServlet... not an easy one to find,
          since we don't
          know the package name... is it org.apache.xml, org.apache.xalan, javax.xml,
          javax.servlet, etc...
          I haven't been able to find it on my system....

          My guess is that you have two copies of this file... but I am not sure
          where...

          I wouldn't suggest replacing a FILE inside a jar... but figuring out which
          jar is causing the conflict
          and seeing if you can (temporarily) remove that conflicting jar to get the
          problem to go away...
           
          原來(lái)是因?yàn)榭赡艽嬖诙鄠€(gè)JDom.jar引起的方法調(diào)用不清.再回過(guò)頭查下項(xiàng)目的path設(shè)置,果然存在另一個(gè)jdom.jar(63k),而我的項(xiàng)目下的jdom.jar是150k.原來(lái)版本不同,將原來(lái)的包覆蓋,再運(yùn)行,一切正常.
          這么個(gè)問(wèn)題,花了1個(gè)多小時(shí),搞死了.
          posted on 2005-08-17 17:05 ZhuJun 閱讀(1532) 評(píng)論(0)  編輯  收藏 所屬分類: 開(kāi)發(fā)手記

          蜀中人氏,躬耕于珠海

          <2005年8月>
          31123456
          78910111213
          14151617181920
          21222324252627
          28293031123
          45678910

          常用鏈接

          留言簿(2)

          隨筆分類(71)

          隨筆檔案(54)

          博客

          文檔

          站點(diǎn)

          論壇

          搜索

          •  

          積分與排名

          • 積分 - 51266
          • 排名 - 974

          最新評(píng)論

          閱讀排行榜

          主站蜘蛛池模板: 华宁县| 石门县| 清流县| 宝兴县| 通河县| 岑溪市| 香格里拉县| 舞阳县| 肇州县| 汪清县| 长乐市| 扎囊县| 永德县| 台东县| 木兰县| 万全县| 靖江市| 怀仁县| 南投市| 会东县| 泽州县| 沾益县| 凭祥市| 佛学| 合作市| 桃江县| 黔东| 岳阳县| 庆城县| 玉环县| 平乐县| 沙雅县| 搜索| 东丰县| 德惠市| 通榆县| 苍南县| 鄂托克旗| 靖安县| 建德市| 海伦市|