First, create a graph,
Window-> preference...-> XML catalog
Select: Select "user specified entries" and click "add ...".
Click the file system button and select the spring-beans-3.0.xsd File
Key type: Select schema location
Press OK
Eclipse saves these configurations in a file:
In the eclipse workspace \. Metadata \. plugins \ org. Eclipse. WST. xml. Core \ user_catalog.xml file:
<? XML version = "1.0" encoding = "UTF-8" standalone = "no" ?>
< Catalog Xmlns = "Urn: Oasis: names: TC: entity: xmlns: XML: catalog" >
< System Systemid = "Http://www.springframework.org/schema/beans" Uri = "File: // D:/eclipse3.6/Eclipse/dropins/COM. objfac. xmlbuddy-V2.0.9/spring/spring-beans-3.0.xsd" />
< System Systemid = "Http://www.springframework.org/schema/aop" Uri = "File: // D:/eclipse3.6/Eclipse/dropins/COM. objfac. xmlbuddy-V2.0.9/spring/spring-aop-3.0.xsd" />
< System Systemid = "Http://www.springframework.org/schema/jee" Uri = "File: // D:/eclipse3.6/Eclipse/dropins/COM. objfac. xmlbuddy-V2.0.9/spring/spring-jee-2.5.xsd" />
< System Systemid = "Http://www.springframework.org/schema/security" Uri = "File: // D:/eclipse3.6/Eclipse/dropins/COM. objfac. xmlbuddy-V2.0.9/spring/spring-security-3.0.xsd" />
< System Systemid = "Http://www.springframework.org/schema/jdbc" Uri = "File: // D:/eclipse3.6/Eclipse/dropins/COM. objfac. xmlbuddy-V2.0.9/spring/spring-jdbc-3.0.xsd" />
</ Catalog >