从svn上拉过来一个使用了dubbo的项目,一套流程走出来,xml中始终有鲜艳的红叉叉,错误原因:

Multiple annotations found at this line:
- schema_reference.4: Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.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>.
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:reference'.

http://code.alibabatech.com已经停止服务,所以需要自己改一下配置

从maven库里面找到dubbo.jar,解压得到dubbo.xsd,

dubbo中的红叉叉

window>preferences>xml>xml catalog>add

dubbo中的红叉叉

相关文章:

  • 2022-12-23
  • 2021-07-22
  • 2021-05-23
  • 2021-12-21
  • 2021-12-19
  • 2021-05-13
  • 2021-10-25
  • 2021-10-28
猜你喜欢
  • 2021-04-24
  • 2022-12-23
  • 2021-07-02
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案