You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Shyam Shukla <sh...@persistent.co.in> on 2007/12/17 08:36:10 UTC

java.lang.NoClassDefFoundError: org/apache/log4j/Layout

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.