XXXAction-validation.xml文件中报错:Referenced file Contains errors

这个错误主要是无法找到DTD规范文件,网上有很多处理办法,如下所示:

1、直接修改Eclipse的配置,去掉Eclipse中关于xml的验证,操作方法http://blog.sina.com.cn/s/blog_6a6b141001011xhn.html。

2、

时间: 2024-08-09 21:51:20

XXXAction-validation.xml文件中报错:Referenced file Contains errors的相关文章

taglib标签在web.xml文件中报错的解决办法

报错的原因分析: 在jsp2.0中,且2.4版的DTD验证中,taglib描述符,正确写法是放到<jsp-config></jsp-config>描述符中.所以,我们的taglib标签要放到合适的位置上就可以了. 解决办法: 把taglib标签放到合适的位置.

Referenced file contains errors (http://mybatis.org/dtd/mybatis-3-config.dtd). For more information, right click on the message in the Problems View and select &quot;Show Details...&quot;

mybatis配置文件报错Referenced file contains errors mybatis的配置文件报错 The errors below were detected when validating the file "mybatis-3-config.dtd" via the file "mybatis-config.xml".  In most cases these errors can be detected by validating &qu

Referenced file contains errors (xml文件第一行小红叉错误)

在eclipse中开发网页时,经常会遇到写xml文件时第一行无缘无故报错.在最左面的行数上面报出一个小红叉, 点击查看错误信息: Referenced file contains errors (http://www.springframework.org/schema/beans......之类的.我这里是做的是spring的applicationContext.xml文件的,所以会报spring框架的约束格式错误.当我没有管这个错误继续运行项目时,发现这个错误并不影响项目的任何功能,但是总会

Spring,SpringMVC,Mybatis等配置文件报错解决(Referenced file contains errors)

今天自己搭建了ssm框架,头文件什么的都是拷贝的笔记的,本来不会出错.可是偏偏报错(如下): Referenced file contains errors (http://www.ibatis.com/dtd/sql-map-config-2.dtd). For more information, right click on the message in the  Problems View and select "Show Details..." 整整折腾了一上午,也没解决.网上

Referenced file contains errors (http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_4.xsd).

项目导入后,一个tld文件提示以下错误: Referenced file contains errors (http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_4.xsd). For more information, right click on the message in the Problems View and select "Show Details-" auth.tld /ROOT/src/main/webapp/WEB

Eclipse Xml编译错误Referenced file contains errors - spring-beans-4.0.xsd

本文转自:http://josh-persistence.iteye.com/blog/2125420 在eclipse中,有时候在xml文件中,特别是于Spring相关的配置文件中,会出现一些不影响程序正常运行的编译错误,如: Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.0.xsd). 可通过如下步骤解决这个编译错误: 1. Spring的版本变更了,但是

XML Referenced file contains errors

mybatis mapper 配置文件出现该错误 网上搜了下关于这个错误,导致的原因可能有一下可能: 一种可能是 版本不同 对于Eclipse编译器来说,会有个缓存,这样验证的时候他会告诉你版本不统一 Preferences -> General -> Network Connections -> Cache 删除里面的缓存 还有一种可能是,当前使用的版本和配置文件写的不同意,导致dtd等文件不会被正确加载,那么就是改成当前使用的对应版本了 XML Referenced file con

【转】 grep 文件报错 “Binary file ... matches”

原文链接 http://blog.csdn.net/yaochunnian/article/details/7261006 grep 文件报错 “Binary file ... matches” 原因:文件为binary文件 解决:strings vers.log.2010-03-09 | grep -i ‘mezimedia’ 或者 grep -a -i ‘mezimedia’ vers.log.2010-03-09 grep命令是linux下的行过滤工具,其参数繁多,下面就一一介绍个个参数的

新建maven项目pom.xml文件报错

1.背景交代 新建了一个练手的项目,准备了解一下springBoot的使用(之前没有用过springBoot),百度了一下springBoot教程发现大多数使用maven来管理jar包的引入.因此顺带学习了一下maven,以此贴记录我在使用maven过程中所遇到的一串问题以及解决的办法. 2.所遇问题 myeclipse直接创建maven project,创建成功之后发现pom.xml文件报错,报错的内容是: Could not calculate build plan: Plugin org.