My Oracle Support Banner

java.lang.ClassNotFoundException: org.apache.http.impl.client.DefaultHttpClient (Doc ID 1988198.1)

Last updated on SEPTEMBER 06, 2018

Applies to:

Oracle WebLogic Server - Version to [Release 12c]
Information in this document applies to any platform.


When attempting to access the ADF application on standalone weblogic server environment, the following error occurs.

Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.

java.lang.NoClassDefFoundError: org/apache/http/impl/client/DefaultHttpClient
  at org.apache.myfaces.trinidad.context.RequestContext.getWindowManager(
  at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._beginWindowManagerRequest(
  Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.apache.http.impl.client.DefaultHttpClient
  at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(
  at weblogic.utils.classloaders.GenericClassLoader.findClass(
  at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(
  at java.lang.ClassLoader.loadClass(
  at java.lang.ClassLoader.loadClass(



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.