Getting java.lang.NoSuchMethodError: org/apache/commons/codec/binary/Base64 with WebCenter Custom Taskflow

(Doc ID 1612025.1)

Last updated on NOVEMBER 19, 2016

Applies to:

Oracle WebCenter Portal - Version and later
Information in this document applies to any platform.


When attempting to access a custom ADF Taskflow which is using "commons-codec-1.8", it is reporting the following error:-

<02/01/2014 10:22:28 AM EST> <
javax.servlet.ServletException: java.lang.NoSuchMethodError: org/apache/commons/codec/binary/Base64.(I[B)V
at javax.faces.webapp.FacesServlet.service(
at weblogic.servlet.internal.StubSecurityHelper$
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(

Steps To Reproduce:

  1. Create a custom ADF Taskflow (the custom taskflow is using commons-codec-1.8)
  2. Deploy it as Shared Library into WebCenter Portal
  3. Access the taskflow with portal.
  4. The following error is reported:-
      java.lang.NoSuchMethodError: org/apache/commons/codec/binary/Base64.(I[B)V



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