Well, what class can't it find, the Logger or the LogonAction.class ? I use it with Struts, without a hassle, on WebLogic 7.2.
Nick -----Original Message----- From: Rahul Mohan [mailto:[EMAIL PROTECTED] Sent: Friday, 5 December 2003 5:46 PM To: struts Subject: Log4j with Struts Hi, has anybody tried using Log4j with struts? I tried the following code and its giving a ClassDefNotFoundException during runtime.. this is inside the perform method: String str = new String(LogonAction.class.getName()); //LogonAction is an Action Class logger = Logger.getLogger(str); //this line is throwing the exception - apparently str is not having a classdef somebody please help me with this.....or is there any other method to perform logging? i am using tomcat4.1 ... Thanks in advance. Rahul Mohan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MasterCraft Group Tata Consultancy Services Tata Research Development and Design Center 54B, Hadapsar Industrial Estate Pune - 411 013 Phone: +91 4042333 or 4031122 Extn 2556 +91 20 31544082 ( Mobile ) Fax: +91 20 4042399 email : [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

