Comment on Tutorial - Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory By Emiley J.



Comment Added by : Pradeep

Comment Added at : 2009-09-29 06:39:21

Comment on Tutorial : Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory By Emiley J.
I was using commons-logging-1.0.4.jar previously, but when I changed it to version 1.1.1.jar. It does not make any effect to the exception as I it remain same as earlier.please suggest what could be the problem. Stack trace is as follows ;
C:\Program Files\Java\jdk1.5.0\bin>java -classpath ;C:\axis\lib\wsdl4j-1.5.1.jar
;AXIS_HOME\lib\commons-logging-1.1.1.jar;C:\axis\lib\commons-discovery-0.2.jar;C
:\axis\lib\jaxrpc.jar;C:\axis\lib\saaj.jar;C:\axis\lib\axis.jar org.apache.axis.
wsdl.WSDL2Java -v -o -s d:\generate C:\axis\PQSSProvisioning.wsdl
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.commons.lo
gging.LogFactory
at org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:4
5)
at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45
)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory
.java:41)
at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java
:33)
at org.apache.axis.i18n.ProjectResourceBundle.<clinit>(ProjectResourceBu
ndle.java:53)
at org.apache.axis.i18n.MessagesConstants.<clinit>(MessagesConstants.jav
a:32)
at org.apache.axis.utils.Messages.<clinit>(Messages.java:36)
at org.apache.axis.wsdl.WSDL2Java.<clinit>(WSDL2Java.java:112)


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. import java.io.*;
import java.util.Stack;
View Tutorial          By: jack&jill at 2011-07-26 06:40:32

2. Aoa. could anybody guide me about jsf with hibern
View Tutorial          By: imtiaz afridi at 2011-12-03 12:19:04

3. how can we split 12+12 into three tokens like 12,+
View Tutorial          By: arjun at 2012-11-26 11:07:24

4. string strInsert = "Insert into [Sheet1$](F1,
View Tutorial          By: Sagar at 2011-05-12 06:47:13

5. can we use this code in a web application. your he
View Tutorial          By: phani at 2008-09-17 06:15:26

6. i would like to ask that what is the history of a
View Tutorial          By: Ankit at 2011-02-07 09:56:21

7. Thanks Thanks Thanks.....for you
But how

View Tutorial          By: jihad at 2009-02-15 04:48:53

8. Okay, this article cleared my two doubts i.e. Use
View Tutorial          By: Shrikrishna Meena at 2010-09-26 12:38:04

9. Timely info right when I needed it. Thanks.
View Tutorial          By: Electric Vehicles at 2008-12-10 15:15:25

10. is this code applicable if I used USB GSM Modem? a
View Tutorial          By: Rania at 2010-09-14 12:33:15