java.lang.NoSuchMethodError Using Common Codec JAR File

(Doc ID 2371238.1)

Last updated on MARCH 13, 2018

Applies to:

Oracle SOA Suite - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms


We have custom JAR files deployed on our SOA Suite environment, we also have a new version of the commons codec
jar file v1.11 deployed to our weblogic domain. However when we try and execute our BPEL code, we are receiving the following
error message:


exception class="java.lang.NoSuchMethodError">

org.apache.commons.codec.binary.Hex.encodeHexString([B)Ljava/lang/String;

-
com.mdsol.mauth.util.MAuthSignatureHelper.getHexEncodedDigestedString#7
com.mdsol.mauth.util.MAuthSignatureHelper.encryptSignature#38
com.mdsol.mauth.DefaultSigner.generateRequestHeaders#71
com.icon.ctms.ctmsIntegration.CtmsSigner.getSignatureHeaders#48
icon.integration.tests.SendAutenticatedRequest.processRequest#44
orabpel.testauthenticationbpel.ExecLetBxExe1.execute#196
com.collaxa.cube.engine.ext.bpel.common.wmp.BPELxExecWMP.__executeStatements#42
com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform#188
com.collaxa.cube.engine.CubeEngine.performActivity#2924
com.collaxa.cube.engine.CubeEngine._handleWorkItem#1267
com.collaxa.cube.engine.CubeEngine.handleWorkItem#1162
com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal#106
com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage#308
com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory#387
com.collaxa.cube.engine.CubeEngine.endRequest#4955
com.collaxa.cube.engine.CubeEngine.endRequest#4879

SOA seems to be using the version of common codecs file supplied with the platform, this is despite the
fact that we have modified the setDomainEnv.sh file and the pre-classpath entry to reference the v1.11 version
of commons codec.


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