title: java.lang.NoSuchMethodError: org.apache.xml.security.encryption.XMLCipher.martial(Document;ReferenceList;)
body: <p>I m trying to encrypt my XMl with this call:</p>
  
  <pre><code>XMlCipher.martial(Document context,ReferenceList referenceList)
  </code></pre>
  
  <p>for this the Project is referencing the xmlsec-1.5.3.jar</p>
  
  <p>I'm able to build and deploy the code successfully on weblogic server , but post execution I'm getting the below error in logs. </p>
  
  <pre><code>Caused by: java.lang.NoSuchMethodError: 
  org.apache.xml.security.encryption.XMLCipher.martial(Lorg/w3c/dom/Document;Lorg/apache/xml/security/encryption/ReferenceList;)Lorg/w3c/dom/Element;
  at com.ally.util.encryption.EncryptionUtil.generateEncryptedXML(EncryptionUtil.java:381)
  at com.ally.util.encryption.EncryptionUtil.getEnryptedXMLDocument(EncryptionUtil.java:443)
  at com.ally.partner.fis.acctinq.FISSoapHandler.getFISEncryptedHeader(FISSoapHandler.java:154)
  </code></pre>