The file cannot be validated as the XML definition \path\to\workspace\java.shop\src\test\resources\log4j.dtd (The system cannot find the file specified)" that is specified as describing the syntax of the file cannot be located.
Reason
Eclipse cannot find the log4j.dtd for validation.
Solution
Open Preference (Window > Preferences) and Select XML>XML Catalog
Click [Add...] and insert the following
Location: jar:file:C:\USR\eclipse\plugins\org.apache.log4j_1.2.15.v201012070815.jar!/org/apache/log4j/xml/log4j.dtd Key Type: Public ID Key: -//APACHE//DTD LOG4J 1.2//EN
No comments:
Post a Comment