myeclipse中spring配置文件输入提示配置

解决方法:

一、点击“Windows"到“Preferences"到"MyEclipse"到"Files and Editors"到"XML",然后到"XML Catalog”;

二、点击窗口右边的"User Specified Entris",然后单击"Add",会弹出配置窗口;

三、弹出窗口中,在“Location"上,选中"Files Systems...",找到D:\Myself\spring-framework-2.0\dist\resources\spring-beans-2.0.xsd;选择 Key Type 为“Schema Location", ;key为http://www.springframework.org/schema/beans/spring-beans-2.0.xsd

四、点击OK,完成配置,在myeclipse中重新打开配置文件,即可出现提示。

猜你喜欢

转载自52347.iteye.com/blog/1300844