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 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

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(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 Taskflow (the custom taskflow is using commons-codec-1.8)
  2. Deploy it as Shared Library into WebCenter Portal 11.1.1.8.
  3. Access the taskflow with portal.
  4. The following error is reported:-
      java.lang.NoSuchMethodError: org/apache/commons/codec/binary/Base64.(I[B)V

 

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