Yes, I have included it in the classpath also.

Still it gives me the error.

--- Bender Heri <[EMAIL PROTECTED]> wrote:

> It's not enough to just put it in the lib dir, you
> must include it in your classpath.
> Heri
> 
> > -----Original Message-----
> > From: venkatlakshmi
> [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, June 29, 2006 1:55 PM
> > To: log4j-user@logging.apache.org
> > Subject: NoClassDefFound Error for
> org/apache/log4j/Layout
> > 
> > 
> > Hi all,
> > 
> > I am using jakarta-log4j-1.2.8 in my java program
> to
> > log errors. When I compile the program it runs
> fine.
> > But when I execute it, it throws the following
> error 
> > 
> > C:\VLakshmi\JCI\Equipment
> > Interface\Code\WEB-INF\classes>java
> JCI.XMLInterface
> > Exception in thread "main"
> > java.lang.NoClassDefFoundError:
> org/apache/log4j/Layo
> > ut
> >    at
> JCI.XMLInterface.<clinit>(XMLInterface.java:20)
> > 
> > It says that the class "Layout" is not found. But
> i
> > have included the log4j-1.2.8.jar in \lib. Kindly
> help
> > me to resolve this issue.
> > 
> > 
> > 
> > With regards,
> > 
> > Venkatlakshmi
> > 
> > 
> > 
> >             
> >
>
__________________________________________________________
> > Yahoo! India Answers: Share what you know. Learn
> something new
> > http://in.answers.yahoo.com/
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




With regards,

Venkatlakshmi



                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to