zyskm用夢想丈量人生,用奔跑丈量激情

          導航

          <2012年6月>
          272829303112
          3456789
          10111213141516
          17181920212223
          24252627282930
          1234567

          統計

          公告

          zyskm,zys是鄭勇勝的拼音簡寫,km公里的意思。
          以前曾跑過一段時間馬拉松,知道了這句名言“用夢想丈量人生,用奔跑丈量激情”,丈量的單位用公里km。

          常用鏈接

          留言簿(1)

          隨筆檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          eclipse中xsd的驗證問題cvc-complex-type error with xsd

          基于spring開發了個自定義標簽,功能測試正常,在myeclipse中提示編譯錯誤:
          Multiple annotations found at this line:
              - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'fw:annotation-handler'.
              - schema_reference.4: Failed to read schema document 'http://www.300.cn/schema/annotation-handler.xsd', because 1) could not find the
               document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
          這個問題在以前改動struts配置文件的時候也出現過。在引入一些第三方jar容易出現這個問題。
          雖然不影響使用,但是看著挺討厭的,找了一下解決方法。
          菜單-->windows-->prefreneces 找到XML Catalog,在User Specified Entries添加xsd文件
          有兩個地方要注意:
          1.Key type設置為Schema location;
          2.key 設置虛擬xsd地址,即
          xsi:schemaLocation=" http://www.springframework.org/schema/task
                                   http://www.springframework.org/schema/task/spring-task-3.0.xsd“
          名稱對后邊的這一個。

          posted on 2012-06-27 11:09 zyskm 閱讀(2874) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 巴彦淖尔市| 晋中市| 射阳县| 赤城县| 屏东县| 长葛市| 霍州市| 水富县| 安丘市| 巍山| 宁化县| 桓仁| 顺平县| 南通市| 泰宁县| 湖口县| 安福县| 龙江县| 清苑县| 五常市| 寻乌县| 肇源县| 景泰县| 法库县| 晋城| 双柏县| 红河县| 会昌县| 黄大仙区| 弋阳县| 旅游| 西乡县| 高密市| 南溪县| 西平县| 陵川县| 庆安县| 内黄县| 新密市| 大化| 杂多县|