We're using Apache Tiles 3.0.
In our Apache Tiles-Def file, we occasionally have problems with this DTD reference, maybe because the site is unreliable. There are I/O errors "Reading Definitions" occasionally:
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN"
"http://tiles.apache.org/dtds/tiles-config_3_0.dtd">
The idea came up to save the DTD in the project. We dropped the DTD into /WEB-INF/classes, but it can't be found:
1) just "tiles-config_3_0.dtd":
Error: C:\Eclipse\LunaSR2\tiles-config_3_0.dtd not found
2) "/WEB-INF/classes/tiles-config_3_0.dtd":
java.io.FileNotFoundException: \WEB-INF\classes\tiles-config_3_0.dtd (The system cannot find the path specified)