读书人

spring anotation中的schema增添

发布时间: 2012-10-28 09:54:44 作者: rapoo

spring anotation中的schema添加
1.首先Windows-->preferences-->myeclipse--files and editors -->xml-->xml catalog
2.单击add出现的窗口中的Key Type 中选择URI 在location中选择FileSystem然后在spring的解压目录的dist/resources目录中选择spring-context-2.5.xsd3.回到设置窗口,把窗口中的KeyType改为Schema Location
4.Key的后边加上spring-context-2.5.xsd
5.完成

读书人网 >软件架构设计

热点推荐