My Oracle Support Banner

Getting java.lang.NoSuchMethodError: org/apache/commons/codec/binary/Base64 with WebCenter Custom Task flow (Doc ID 1612025.1)

Last updated on OCTOBER 10, 2023

Applies to:

Oracle WebCenter Portal - Version to [Release 11g]
Information in this document applies to any platform.


When attempting to access a custom ADF Task flow 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 Task flow (the custom task flow is using commons-codec-1.8)
  2. Deploy it as Shared Library into WebCenter Portal
  3. Access the task flow and error is reported:
  4.   java.lang.NoSuchMethodError: org/apache/commons/codec/binary/Base64.(I[B)V 




To view full details, 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 a vibrant support community of peers and Oracle experts.