java.lang.ClassNotFoundException: org.apache.http.impl.client.DefaultHttpClient

(Doc ID 1988198.1)

Last updated on MARCH 29, 2017

Applies to:

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

Symptoms


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 oracle.adfinternal.view.faces.webapp.rich.RichWindowManagerFactory.getCurrentWindowManager(RichWindowManagerFactory.java:66)
  at oracle.adfinternal.view.faces.webapp.rich.RichWindowManagerFactory.getWindowManager(RichWindowManagerFactory.java:41)
  at oracle.adfinternal.view.faces.webapp.rich.RichWindowManagerFactory.getWindowManager(RichWindowManagerFactory.java:36)
  at org.apache.myfaces.trinidad.context.RequestContext.getWindowManager(RequestContext.java:948)
  at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._beginWindowManagerRequest(GlobalConfiguratorImpl.java:743)
  Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.apache.http.impl.client.DefaultHttpClient
  at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:357)
  at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:318)
  at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:80)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)


 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms