myeclipse中配置spring xml自动提示

来源:互联网 发布:淘宝充值日亚礼品卡 编辑:程序博客网 时间:2024/06/05 04:43

这是一篇分享技巧的文章:myeclipse中配置spring xml自动提示。

① window -> preferences -> MyEclipse -> Files and Editors -> XML -> XML Catalog



② 选择User Specified Entries,点击add按钮弹出一个选框,填入以下三项

i. Location: D:\baiduyun\Spring\spring_doc\soft\spring-framework-2.5.6\dist\resources\spring-beans-2.5.xsd (文件位置)
ii. Key Type: Schema Location
iii. Key: http://www.springframework.org/schema/beans/spring-beans-2.5.xsd



③ 在xml文件中按' alt + / ' 会有有提示啦~~~


3 0