配置文件提醒是为了,可以在没有网络得时候能够有程序编写提醒。
1.打开applicationContext.xml页面
拷贝方框中得内容:
2.选择:window–>Preferences 然后搜索xml catalog,选中User Specified Entries 然后点击add
3.选择文件系统,打开自己在spring官网下载得spring-framework-4.3.9.RELEASE-schema文件下,找到beans文件夹,选择最新得xsd文件即可,我这里选择spring-beans-4.3.xsd。
然后再Key type中选择Schema location,粘贴之前再applicationContext.xml文件中复制得内容。ok,重启eclipse即可。