This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes Error with PropertyConfigurator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error with PropertyConfigurator" Watch "Error with PropertyConfigurator" New topic

Error with PropertyConfigurator

Gowri Shankar Malliah

Joined: Sep 03, 2010
Posts: 2
I have been using PropertyConfigurator.configure(logProperties) and that was working perfect.
But when i created a war file for the project and deployed in another machine it is giving me the below error...

SEVERE: Allocate exception for servlet SystemPortalServlet
java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator

I am using log4j-0.9.4-jdk14.jar and am not able to figure out the reason..

Can someone please help me!
I agree. Here's the link:
subject: Error with PropertyConfigurator
Similar Threads
Not able to initialize the
log4j XML reading problem
LOG4j how to relase the file, or drain contents
error when i run log file
where to put