Dubbo cannot read to dubbo.xsd in eclipse

Source: Internet
Author: User

The error message is as follows:

Multiple annotations found at the line:
–cvc-complex-type.2.4.c:the matching wildcard is strict, but no declaration can be found for element ' dubbo:application ' .
–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
.

or a

File check is strict, but not found

Nonsense less talk directly on the solution:

Download a dubbo.xsd file
Windows->preferrence->xml->xmlcatalog

Add->catalog Entry->file System Select the file path you just downloaded

Modifying the key value is the same as the http://code.alibabatech.com/schema/dubbo/dubbo.xsd of the configuration file

Save.. In the XML file right-click Validate OK resolved.

Dubbo cannot read to dubbo.xsd in eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.