title: Method info( java.util.HashMap ) not found in class'org.apache.log.Logger'
body: <pre><code> log.info(m.differenceValue(jsonElement1,jsonElement2)); 
  </code></pre>
  
  <p>calling function from beanshell. The code implemented in jar file.</p>
  
  <pre><code>public static &lt;K, V&gt; Map&lt;String,Object&gt; differenceValue(JsonElement json1, JsonElement json2){
      Gson g = new Gson();
  
      Type mapType = new TypeToken&lt;Map&lt;String, Object&gt;&gt;(){}.getType();
      Map&lt;String,Object&gt; firstMap = g.fromJson(json1, mapType);
      Map&lt;String, Object&gt; secondMap = g.fromJson(json2, mapType);
     return(mapDifference(firstMap,secondMap));
  }      
  public static &lt;K, V&gt; Map&lt;K, V&gt; mapDifference(Map&lt;? extends K, ? extends V&gt; left, Map&lt;? extends K, ? extends V&gt; right) {
      Map&lt;K, V&gt; difference =  new HashMap&lt;K, V&gt;();
      difference.putAll(left);
      difference.putAll(right);
      difference.entrySet().removeAll(right.entrySet());
      return difference;
  }
  </code></pre>
  
  <p>Is is working fine in eclipse but in jmeter it is throwing </p>
  
  <blockquote>
    <p>error:Method info( java.util.HashMap ) not found in class'org.apache.log.Logger'</p>
  </blockquote>