function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ArvindArvind 

Exception while running program

hi,

I am trying to execute a program and the following exception occurs. The compiling goes fine, but the exception occurs while running the program :

Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.commons.lo
gging.LogFactory
        at org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:8
4)
        at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:84
)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory
.java:80)
        at org.apache.axis.components.logger.LogFactory.(LogFactory.java72)
        at org.apache.axis.handlers.BasicHandler.(BasicHandler.java:81)
        at org.apache.axis.client.Service.getAxisClient(Service.java:143)
        at org.apache.axis.client.Service.(Service.java:152)
        at com.sforce.soap.enterprise.SforceServiceLocator.(SforceServiceL
ocator.java:10)
        at com.modelmetrics.aon.task.doLogin(task.java:502)
        at com.modelmetrics.aon.task.(task.java:63)
        at com.modelmetrics.aon.task.main(task.java:49)

Please help if you can read through something

Thanks,

Arvind

Message Edited by Arvind on 08-11-2004 05:29 AM

DevAngelDevAngel

Hi Arvind,

In the Axis distribution are a couple of jars that start Common_*.jar.  One is for logging.  Make sure that jar is in your classpath.