Spring中编写配置文件之帮助提示
来源:互联网 发布:淘宝旋转图怎么设置 编辑:程序博客网 时间:2024/06/06 02:20
先来看一个spring基本配置文件的文件头
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
起到提示作用的是http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
myeclipse会从网上下载该xsd,将该文件内容缓存
在编写spring.xml出现提示有如下方法
方法一
打开网络,让eclipse自行上网下载
方法二
手动添加schema文件
① 找到xmlcatalog
windows—>preferences—>myeclipse—>files and editors—>xml—>xmlcatalog
②找到xds文件
点击add在出现的窗口中的Key Type中选择URI,在location中选择"File system",找到spring解压目录的dis/resource目录中选择spring-beans-2.5.xsd
③配置相关信息
将Key Type改为Schema location。Key改为http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
- Spring中编写配置文件之帮助提示
- 编写spring配置文件时,不能出现帮助信息
- 编写spring配置文件时,不能出现帮助信息
- Spring配置文件applicationContext.xml在myEclipse工具中编写时如何显示标签提示
- Spring 中jdbc的配置文件的编写
- 在配置文件中编写代码,不能自动提示问题
- Spring配置文件编写
- Spring MVC配置文件编写
- spring配置文件自动提示
- 编写配置文件不能出现帮助信息
- 如何在MyEclipse中编辑spring配置文件出现提示标签:
- Myeclipse中解决spring配置文件无提示问题
- 关于ssm整合过程中,spring配置文件无提示功能
- eclipse中配置Spring配置文件自动提示和命名空间
- eclipse安装Aptana 插件,并设置使之能提示css,js,html,帮助编写代码
- eclipse安装Aptana 插件,并设置使之能提示css,js,html,帮助编写代码
- 配置VS编写Spring.Net 和NHibernate的配置文件时,给出代码提示
- 编写Spring框架的配置文件时,标签无提示的解决办法
- Android之消息推送实现
- What is the best way to port from Objective-C to C++?
- 10、在排序数组中,找出给定数字出现的次数
- 创建一个动态网页
- python之time和datetime模块
- Spring中编写配置文件之帮助提示
- 【微软谷歌面试100题--【54】调整数组顺序使奇数位于偶数前面
- 配置Raid5
- 孤儿进程和僵尸进程
- 守护进程的编程方法
- PackageInfo、ResolveInfo
- Select For update语句浅析
- VIM学习笔记
- HDU 3518 Boring counting(后缀数组)