`
run_wang
  • 浏览: 162402 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
文章分类
社区版块
存档分类
最新评论

【Spring】手动添加schema文件

 
阅读更多
由于spring的schema文件位于网络上,如果机器不能连接到网络,那么在编写配置信息时候就出现提示信息,既然绝发那个发有两种
1:让机器上网,eclipse会自动从网络上下载schema文件并缓存在硬盘上。
2:手动添加schema文件
windows->preferences->myeclipse->files and editors->xml->xmlcatalog
点"add",在出现的窗口中的Key Type中选择URI,在location中选"File system".
然后再spring解压目录的dist/resources目录总选择spring-beans-2.5.xsd.回到设置窗口的时候
不要着急关闭窗口、应该窗口中的Key Type改为Schema location,Key改为
http://www.springframeword.org/schema/beans/spring-beans-2.5.xsd
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics