File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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!
 
wood burning stoves
 
subject: Error with PropertyConfigurator