logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject RE: NoClassDefFound Error for org/apache/log4j/Layout
Date Thu, 29 Jun 2006 17:41:00 GMT
What does line 20 do?  Does it configure Log4j?  What JDK are you using?  What,
exactly, does your classpath look like?

Jake

Quoting venkatlakshmi <venkatbaskaran@yahoo.co.in>:

> Yes, I have included it in the classpath also.
>
> Still it gives me the error.
>
> --- Bender Heri <HBender@Ergonomics.ch> 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:venkatbaskaran@yahoo.co.in]
> > > 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
>
>





---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message