This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Problem with DOMConfigurator.configure( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Reply locked New topic

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

Austin Shelton

Joined: Jul 01, 2010
Posts: 11

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


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?


Austin Shelton
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Do not duplicate threads. Continue the discussion there.

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: Problem with DOMConfigurator.configure("log4j.xml");
It's not a secret anymore!