AnsweredAssumed Answered

Class files are conflicting in two versions of same jar file while test case execution

Question asked by TechieSankar on Jun 10, 2016

Hi All,


I have two test cases  , Java Script Step and Web Service  Execution Step (WSDL) one after another. Below is the details of the issues that I am facing,

1) JavaScript Step ( Contains code for reading Outlook mail using Exchange Web Service(EWS) API - all the supported jar files are pre-loaded using LISA_PRE_CLASSPATH.) and Verified in Workstation.log fiels in Lisa_Temp folder to overcome the overriding issues with already another version of jar files are there Lisa Workstation.

2) Web Service Execution test case (Contains a WSDL with an operation which points to test environment and fetches some data ). Getting error while executing this because of version issues.


Error While Execution of WSDL Step, along with Mail API :


| Exception:


| Message:     Test Execution Stopped due to exception


| Trapped Exception: org.apache.http.conn.scheme.SchemeRegistry.removeOverrideHttpsScheme()V

| Trapped Message:   java.lang.NoSuchMethodError: org.apache.http.conn.scheme.SchemeRegistry.removeOverrideHttpsScheme()V



java.lang.NoSuchMethodError: org.apache.http.conn.scheme.SchemeRegistry.removeOverrideHttpsScheme()V



  at org.apache.axis.strategies.InvocationStrategy.visit(

  at org.apache.axis.SimpleChain.doVisiting(

  at org.apache.axis.SimpleChain.invoke(

  at org.apache.axis.client.AxisClient.invoke(

  at org.apache.axis.client.Call.invokeEngine(

  at org.apache.axis.client.Call.invoke(



  at com.itko.lisa.test.TestNode.executeNode(

  at com.itko.lisa.test.TestCase.execute(

  at com.itko.lisa.test.TestCase.execute(

  at com.itko.lisa.test.TestCase.executeNextNode(

  at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(

  at com.itko.lisa.editor.WalkThruPanel.access$900(

  at com.itko.lisa.editor.WalkThruPanel$10.doCallback(

  at com.itko.util.swing.panels.ProcessingDialog$

  at Source)




Key Issues identified:

  • EWS API referring a class in httpclient-4.4.1 jar file. And  another version of jar is ther in Lisa9\lib\shared\httpclient-4.3.6.jar. Web Service Execution Step is referring class in httpclient-4.3.6.jar file which is lower version than that mail API is referring. This two versions are conflicting each other.


Can someone help in this to resolve the issue.  Screen shot attache