This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 14687

Do not duplicate threads. Continue the discussion there.

[My Blog]
All roads lead to JavaRanch
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Problem with DOMConfigurator.configure("log4j.xml");
Similar Threads
invalid FormalParameterList
Error in using JWIG
problem in System.out.println
DOMConfigurator.configure("log4j.xml") error
Is it me or just Eclipse... JEdit too...