xml配置文件为何无提示(即<不会出现提示框)
2013-09-13 04:03
218 查看
原因就是因为该文件没有配置对应的dtd验证地址
例如:Strust2.3中
"http://struts.apache.org/dtds/struts-2.3.dtd"直接配置好就OK
或者搜索到对应的dtd文件
window-preferences-XML-XMLcatelog
选择Add...-file system 添加对应的dtd
在Key Type中选择URL
key 再配置上网路上的URL配置
例如:Strust2.3中
"http://struts.apache.org/dtds/struts-2.3.dtd"直接配置好就OK
或者搜索到对应的dtd文件
window-preferences-XML-XMLcatelog
选择Add...-file system 添加对应的dtd
在Key Type中选择URL
key 再配置上网路上的URL配置
相关文章推荐
- 关于xml配置文件无元素提示和the root element of the document is not <xsd:schema>.错误
- 让Eclipse中spring的xml配置文件出现属性和类提示
- 出现错误,提示:各个节在每个配置文件中只能出现一次。有关异常的信息,请参阅帮助主题 <location>。请问
- 让Eclipse中spring的xml配置文件出现属性和类提示
- Eclipse编辑Spring配置文件xml时自动提示类class包名
- Struts2配置文件与xml自动提示
- 关于Myeclipse10中建立web工程添加spring配置文件出现红叉错误提示的问题
- Tomcat配置文件context.xml中<Loader delegate="true" />作用
- mybatis的config.xml文件中不再需要通过<mapper>一个一个配置实体的xml文件了
- SPRING IN ACTION 第4版笔记-第二章WIRING BEANS-008-在XML配置文件中引入JAVA配置文件 <import> 、<bean>
- 配置文件ehcache.xml详解(1)—<Cache>
- spring的xml配置文件出现问题
- mybatis的xml文件没有提示,出现the file cannot be validated as the XML definition.....
- mybatis mapper.xml文件中配置提示如下错误The entity name must immediately follow the '&' in the entity reference
- Spring配置文件applicationContext.xml在myEclipse工具中编写时如何显示标签提示
- 在spring配置文件里输入< 没有提示怎么办?
- struts2中的配置文件的<constant>标签(struts.xml自动加载)
- mybatis的sql的xml的配置文件中<![CDATA[ ]]>的用法。
- web.xml配置文件里面的<async-supported>true</async-supported>标签报错
- java web开发在web.xml配置<mime-mapping>实现浏览器根据文件类型自动打开