This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error with PropertyConfigurator" Watch "Error with PropertyConfigurator" New topic
Author

Error with PropertyConfigurator

Gowri Shankar Malliah
Greenhorn

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: http://aspose.com/file-tools
 
subject: Error with PropertyConfigurator
 
Similar Threads
Not able to initialize the log4j.properties
where to put log4j.properties?
LOG4j how to relase the file, or drain contents
error when i run log file
log4j XML reading problem