spring为例:
1.引入相应JAR包
2.IDE中window->preferences->XML->XML Catalog->add..
3.key type->URI
4.Location->file system->SPRING_HOME/dist/resources/spring-beans-2.0.xsd
5.key type->Schema Location
6.key后面加上文件名/spring-beans-2.0.xsd
7.OK
文章来源:http://blog.csdn.net/guodongbingtuan/archive/2009/02/10/3874393.aspx