1. 程式人生 > >關於dubbo服務的xml配置檔案報錯的問題——The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'

關於dubbo服務的xml配置檔案報錯的問題——The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'

  在配置dubbo服務的過程中,經常會遇到雖然程式能夠跑起來,但是配置檔案一堆紅叉,雖然不影響功能,但是確實很讓人噁心。

  報錯資訊如下:

 

  解決方案:

  下載一個dubbo.xsd檔案(就在dubbo.jar裡面)windows->preferrence->xml->xmlcatalogadd->catalog entry ->file system 選擇剛剛下載的檔案路徑,修改key值

  

  儲存後,在xml檔案右鍵validate,問題就解決了

 

 

 

參考文章:https://blog.csdn.net/xjb1053695251/article/details/60746715