axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shyam Shukla " <shyam_shu...@persistent.co.in>
Subject java.lang.NoClassDefFoundError: org/apache/log4j/Layout
Date Mon, 17 Dec 2007 07:36:10 GMT
Hi All,

 

While running SampleClient program, which is shipped with Axis2 1.3 release,
I am getting the following error:

 

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/log4j/Layout

      at
org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:1
40)

      at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:257)

      at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)

      at
org.apache.axis2.addressing.EndpointReference.<clinit>(EndpointReference.jav
a:58)

      at client.SampleClient.main(SampleClient.java:32)

 

 

>From the exception, it looks like for sure that It is missing log4j library
but this library is present in the Axis2_Home/lib directory.

Has anyone encountered this issue?

 

Thanks,

-Shyam

 

 

 


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.

Mime
View raw message