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 11.1.1.8.0 to 11.1.1.8.8 [Release 11g]
Information in this document applies to any platform.

Symptoms

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(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)


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 11.1.1.8.
  3. Access the task flow and error is reported:
  4.   java.lang.NoSuchMethodError: org/apache/commons/codec/binary/Base64.(I[B)V 

Changes

 

Cause

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.