Solved

java.lang.NoClassDefFoundError: org/apache/commons/httpclient/MultiThreadedHttpConnectionManager

Posted on 2010-11-15
3
1,544 Views
Last Modified: 2012-05-10
I dont find any jar with that class. The commons-httpclient has a class but it is not exactly by that name. It has an extension added to it, like
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$1
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ReferenceQueueThread
. I am running weblogic server
0
Comment
Question by:prsubject
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
printnix63 earned 250 total points
ID: 34141001
That is probably the issue:

NoClassFefFoundError:

Thrown when the JVM can’t find a class it
needs, because of a command-line error, a
classpath issue, or a missing .class file.
0
 
LVL 7

Expert Comment

by:printnix63
ID: 34141008
-F +D ( NoClassDefFoundError ) ... typed a bit too fast.
0
 
LVL 10

Assisted Solution

by:Hegemon
Hegemon earned 250 total points
ID: 34143744
I have checked commons-httpclient-3.1.jar I happen to have locally, the class is there along with the inner classes you named. Perhaps your .jar is broken or the .class file was accidentally deleted from it. You may want to download it again and replace.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sumHeights2  challenge 7 103
endX challenge 2 78
maven example error 3 60
servlet example 11 40
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question