A custom label is developed based on spring. The function test is normal and a compilation error is prompted in myeclipse:
Multiple annotations found at this line:
-Cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'FW: annotation-handler '.
-Schema_reference.4: Failed to read schema document 'HTTP: // www.300.cn/schema/annotation-handler.xsd', because 1) cocould not find
Document; 2) the document cocould not be read; 3) the root element of the document is not <xsd: schema>.
This problem also occurred when modifying the struts configuration file. This problem may occur when some third-party jar files are introduced.
Although it does not affect usage, it seems annoying. I found a solution.
Menu --> windows --> prefreneces find the XML Catalog and add the xsd file in User Specified Entries
Note the following two points:
1. Set Key type to Schema location;
2. Set the virtual xsd address for the key, that is
Xsi: schemaLocation = "http://www.springframework.org/schema/task
Http://www.springframework.org/schema/task/spring-task-3.0.xsd"
The name of the name.
Author: zyskm