编写spring配置文件时,不能出现帮助信息
2014-02-19 18:42
183 查看
由于spring的schema文件位于网络上,如果机器不能连接到网络,那么在编写配置信息时候就无法出现提示信息,解决方法有两种:
1。让机器上网,eclipse会自动从网络上下载schema文件并缓存在硬盘上。
2。手动添加schema文件,方法如下:
windwos->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.springframework.org/schema/beans/spring-beans-2.5.xsd
1。让机器上网,eclipse会自动从网络上下载schema文件并缓存在硬盘上。
2。手动添加schema文件,方法如下:
windwos->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.springframework.org/schema/beans/spring-beans-2.5.xsd
相关文章推荐
- 编写spring配置文件时,不能出现帮助信息
- 编写spring配置文件时,不能出现帮助信息
- 编写spring配置文件时,不能出现帮助信息
- Spring配置文件时, 不能出现帮助信息解决方案
- 编写配置文件不能出现帮助信息
- Struts2_编写校验文件时,不能出现帮助信息
- Spring中编写配置文件之帮助提示
- SpringMVC+HibernateValidator,配置在properties文件中的错误信息回显前端页面出现中文乱码
- 出现错误,提示:各个节在每个配置文件中只能出现一次。有关异常的信息,请参阅帮助主题 <location>。请问
- 报表服务器上出现内部错误。有关详细信息,请参阅错误日志。 (rsInternalError) 获取联机帮助 用户的配置文件是临时配置文件。 (异常来自 HRESULT:0x80090024)
- Spring中编写配置文件之帮助提示
- SpringMVC+HibernateValidator,配置在properties文件中的错误信息回显前端页面出现中文乱码
- SpringMVC+HibernateValidator,配置在properties文件中的错误信息回显前端页面出现中文乱码
- 使用Spring中Src下 -context.xml : 用资源文件夹保存数据库的链接信息 并在配置文件里读取
- 当编写Android工程时不能自动出现R.JAVA文件
- 关于Myeclipse10中建立web工程添加spring配置文件出现红叉错误提示的问题
- spring 配置中,数据库相关信息如何加密放在属性文件中
- Spring配置文件中突然出现异常Referenced file contains errors
- 如何在spring中读取properties配置文件里面的信息
- 让Eclipse中spring的xml配置文件出现属性和类提示