关于dubbo服务的xml配置文件报错的问题——The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'

  在配置dubbo服务的过程中,经常会遇到虽然程序能够跑起来,但是配置文件一堆红叉,虽然不影响功能,但是确实很让人恶心。

  报错信息如下:

关于dubbo服务的xml配置文件报错的问题——The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'

  解决方案:

  下载一个dubbo.xsd文件(就在dubbo.jar里面)windows->preferrence->xml->xmlcatalogadd->catalog entry ->file system 选择刚刚下载的文件路径,修改key值

  关于dubbo服务的xml配置文件报错的问题——The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'

  保存后,在xml文件右键validate,问题就解决了

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

上一篇:ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: NO)解决办法


下一篇:xml报错“cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element”