Referenced file contains errors (http://tiles.apache.org/dtds/tiles-config_3_0.dtd)

时间:2023-03-08 15:57:44

java开发时遇到的问题,之前还是好好的,没有错误提示。可是今天一打开项目就出现这种问题。真不知道是怎么回事,在这里求助。错误如下:

Referenced file contains errors (http://tiles.apache.org/dtds/tiles-config_3_0.dtd). For more information, right
click on the message in the Problems View and select "Show Details..."

Referenced file contains errors (http://tiles.apache.org/dtds/tiles-config_3_0.dtd)

Referenced file contains errors (http://tiles.apache.org/dtds/tiles-config_3_0.dtd)

其中xml文件内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
"http://tiles.apache.org/dtds/tiles-config_3_0.dtd">
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

就上面这些内容就报错了,虽然不影响调试,但是终归是隐患。后续如果解决了,我也会补充解决的方法,还希望能够得到大家的帮助。

不要说看提示,提示我看了,就是没找出问题所在。