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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. Hallo.
And if the certificate is se
View Tutorial By: Mario at 2009-11-11 08:42:46
2. very nice and good introduction for beginners.
View Tutorial By: annie at 2011-11-23 06:50:32
3. i need full program for connect oracle to struts l
View Tutorial By: Munaver Basha at 2010-09-30 01:28:10
4. i would like to ask that what is the history of a
View Tutorial By: Ankit at 2011-02-07 09:56:21
5. pls help me how to solve the timeout problem
View Tutorial By: nisha at 2010-09-20 22:29:17
6. Good article..
View Tutorial By: Sudarshan at 2011-03-28 02:57:53
7. Can you please tell me what software to be install
View Tutorial By: Heena Yeole at 2015-03-10 18:05:18
8. A very good example to kickstart my preparation on
View Tutorial By: Javaenthu at 2013-07-28 06:35:44
9. How to download any file when a button is in .jsp
View Tutorial By: Gopesh at 2012-04-13 09:35:11
10. the example program that given above for recursion
View Tutorial By: bharathi at 2012-07-17 09:31:14