Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

Problem with DOMConfigurator.configure("log4j.xml");

 
Austin Shelton
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

I get an error using Eclipse Helios on the following line in my servlet:

DOMConfigurator.configure("log4j.xml");

It complains about "Multiple markers at this line" and goes on to report that:

Syntax error on token(s) misplaced construct(s)
Syntax error on token "log4j.xml", delete this token

According to all I have read on the web, the line of code I am using should work. What have I done wrong?

Thanks.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Do not duplicate threads. Continue the discussion there.
 
    Bookmark Topic Watch Topic
  • New Topic