eclipse中配置Spring的xsi:schemaLocation
来源:互联网 发布:java反射获取私有变量 编辑:程序博客网 时间:2024/05/16 10:00
在无网络状态下,使用了spring的schema时,在xml文件中无法自动提示或者无法生效。
解决:在eclipse中设置:
打开 Windows-->preferences-XML-XML catalog
然后在右边的User specified Entries 中Add一项:
Location:xsd文件的位置(在下载的Spring文件夹中的schema文件夹)
KeyType:Schema Location
Key: http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd
配置完成后在无网络状态下测试是否成功!
当然,以上方法对于任何的schema的配置都有效。
0 0
- eclipse中配置Spring的xsi:schemaLocation
- xml中 xmlns,xmlns:xsi,xsi:schemaLocation 表示的意思
- applicationContext 中 xmlns 与 xsi:schemaLocation 含义
- XML文件中xsi:schemaLocation声明
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- XML文档的xmlns、xmlns xsi和xsi schemaLocation
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- XML文档的xmlns、xmlns:xsi和xsi:schemaLocation介绍
- 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
- Python常见的缩进错误IndentationError: unexpected indent
- Android 开发遇坑备忘录(一)
- 多态
- 7.2 方法——传引用
- 关于View和ViewGroup进一步详解
- eclipse中配置Spring的xsi:schemaLocation
- 删除一个字符串里出现次数最多的子字符串
- poj3750 小孩报数问题
- POJ-1741 (点分治模板)
- Java中Date和Calendar类的简单使用
- 492. Construct the Rectangle
- HDU 2224The shortest path(dp)
- 【设计模式】模板方法模式
- debian deepin ubuntu 的apache2 正确开启rewrite