WSAD 5 and Log4j can't work?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   snoopy_lee
Posted On:   Thursday, September 4, 2003 10:01 PM

I encounter an error when using the Log4j with WSAD 5


[Servlet Error]-[org/apache/log4j/Category]: java.lang.NoClassDefFoundError: org/apache/log4j/Category



The Logger works fine in Tomcat but when change to WSAD 5 local sever, the error appears.



I have already include the lof4j.jar in the java build path in WSAD. Any suggestion?

Re: WSAD 5 and Log4j can't work?

Posted By:   Scott_McCrory  
Posted On:   Monday, September 8, 2003 06:38 PM

Re: WSAD 5 and Log4j can't work?

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, September 5, 2003 07:29 AM

Put the log4j.jar in the "Web Content/WEB-INF/lib" of your web app project. The build path is not the same as the runtime path! but you always know that the WEB-INF/lib is on both.

About | Sitemap | Contact