錯誤描述:
The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'
錯誤現象:
解決辦法:
1.在項目的本地工作空間中找到lib/dubbo-2.8.4.jar,複製出來,解壓縮,拿到META-INF/dubbo.xsd文件。如放在E:/dubbo/dubbo.xsd
2.在eclipse中依次點擊windows-->preferrence-->xml-->xmlcatalog如圖:
3.點擊Add
1)在Catalog Entry的Location中按File System...選擇第1步保存的dubbo.xsd
2)在Key中填寫:http://code.alibabatech.com/schema/dubbo/dubbo.xsd
點擊OK。
4.右鍵項目,點擊Validate即可。