Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[java.lang.ClassNotFoundException] with Apache HTTP Client, but project can be built without errors

1008433Sep 9 2015 — edited Sep 9 2015

I have JDeveloper desktop application that uses Apache Commons HTTP Client 3.1 class org.apache.commons.httpclient.HttpClient. Apache Commons Http library is added to the JDeveloper project and project can be compiled / build without errors. But there is runtime error when HttpClient is being instantiated:

Sep 09, 2015 10:16:01 PM oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl createIncident

INFO: Diagnostic dumps that would have been executed for problem key DFW-99998 [java.lang.ClassNotFoundException][java.awt.EventDispatchThread.run]:

  - jvm.threads [ context:true timing:true ]

  - dms.metrics [ dump:LocalDMS ]

  - dfw.samplingArchive

What I am doing incorrectly, how should I add library to the project that project can work in runtime as well?

Thanks in advance!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2015
Added on Sep 9 2015
1 comment
236 views