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. If you are working with the multi-threaded program
View Tutorial          By: Prithvi at 2010-01-07 10:24:12

2. Thanks for the syntax, this has really helped me u
View Tutorial          By: Ketobbey at 2010-04-30 19:01:29

3. What happens if applied to an integer array?
View Tutorial          By: SHUVO at 2015-07-01 21:14:16

4. Sir,
i am implementing the above code in w

View Tutorial          By: Girish padki at 2010-01-15 21:50:50

5. you have extended class Abc within class Abc

View Tutorial          By: SUNIL SHAH at 2012-05-25 06:17:23

6. Hi Steven. It looks like your example program does
View Tutorial          By: Ben Hallinan at 2008-04-25 08:36:42

7. Hi hardik,

RMS sample program is av

View Tutorial          By: Daniel Malcolm at 2008-03-29 19:46:18

8. Hi friends i have one problem am register one form
View Tutorial          By: Inbaraj at 2014-07-04 05:28:55

9. excellent, very clear, thx!!!
View Tutorial          By: ma at 2010-04-07 07:42:47

10. Sorry about this. I cannot run this program becaus
View Tutorial          By: TanSW at 2008-04-28 20:14:20