Error 500: org/apache/log4j/Category
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vishal_T
Posted On:   Thursday, September 18, 2003 12:00 PM


Hi I get the following error when I try to use Log4J in a plain Java Project in WSAD 5. I also have a web project in which I have placed my log4j.properties file within my WEB-INF/classes and my jar is in the lib folder. For this project Log4J work properly.


So I was wondering if there was any special setup that needs to be done or what the difference is that would disable Log4J for once scenario, but not the other.


Vishal

Re: Error 500: org/apache/log4j/Category

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, September 19, 2003 01:05 PM

The Jar file has to be on the CLASSPATH when the plain Java project is executed as an application. For Web applications, the WEB-INF/classes and WEB-INF/lib/*.jar are automatically on the CLASSPATH.

About | Sitemap | Contact