멀쩡하던 log4j.xml 을 클릭했더니 빨간줄 발생.
더보기
Multiple annotations found at this line:
- The file cannot be validated as the XML definition "C:\Users\master\eclipse-workspace\assignment01ex\src\main\java\log4j.dtd (지정된 파일을 찾을 수 없습니
다)" that is specified as describing the syntax of the file cannot be located.
- Cannot find DTD 'file:///C:/Users/master/eclipse-workspace/assignment01ex/src/main/resources/log4j.dtd'. Create the DTD file or configure an XML catalog for this
DTD.
>> DOCTYPE 변경
<!DOCTYPE log4j:configuration SYSTEM "http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/xml/doc-files/log4j.dtd">
해결.
구글링하여 원인을 찾아봤으나 아직 원인을 아는 사람은 없는 것 같음.
전부 동일한 게시물 내용뿐임.