Eclipse: Referencing log4j.dtd in log4j.xml

后端 未结 6 1792
既然无缘
既然无缘 2020-11-30 20:21

I\'ve been using log4j for quite a while now and I usually use this at the top of the log4j.xml (probably just like many others and according to Google this is the

6条回答
  •  悲&欢浪女
    2020-11-30 20:56

    Usually, Eclipse looks for log4j.dtd in classpath and it doesn’t find it there and hence the error. We can resolve this issue by providing URL for log4j.dtd file like below.

    
    

提交回复
热议问题