1、在使用dwr的时候,会出现dwr.xml文件报错的问题,
错误如下:
Referenced file contains errors (http://getahead.org/dwr/dwr30.dtd)
修改如下:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 3.0//EN" "http://getahead.org/dwr/dwr30.dtd">
2、在struts2中xml配置文件报错
如下:Referenced file contains errors (http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd). For more information, right click on the message and select "Show Details..."
修改如下:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE validators PUBLIC "-//Apache Struts//XWork Validator 1.0.2//EN" "http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd">
3、最后的办法点击右键Myeclipse-->Remove All Validation Markers
错误如下:
Referenced file contains errors (http://getahead.org/dwr/dwr30.dtd)
修改如下:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 3.0//EN" "http://getahead.org/dwr/dwr30.dtd">
2、在struts2中xml配置文件报错
如下:Referenced file contains errors (http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd). For more information, right click on the message and select "Show Details..."
修改如下:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE validators PUBLIC "-//Apache Struts//XWork Validator 1.0.2//EN" "http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd">
3、最后的办法点击右键Myeclipse-->Remove All Validation Markers