title: org/codehaus/jackson/map/ObjectMapper.setSerializationInclusion exception in WAS server
body: <p>we are working on java rest web service we are using the below jars </p>
  
  <pre><code>jackson-mapper-asl-1.9.2.jar
  jackson-jaxrs-1.9.2.jar
  jackson-core-asl-1.9.2.jar
  jackson-xc-1.9.2.jar
  org.json-20120521.jar
  </code></pre>
  
  <p>Using the above jars below code is working fine in tomcat server.</p>
  
  <pre><code>ObjectMapper mapper = new ObjectMapper();
  mapper.setSerializationInclusion(Inclusion.NON_NULL);
  String userJsonString = mapper.writeValueAsString(userJSON);
  JSONObject userJsonObj = new JSONObject(userJsonString);
  </code></pre>
  
  <p>While deploying this in WAS server we have got the below error:</p>
  
  <pre><code>Error 500: javax.servlet.ServletException: java.lang.NoSuchMethodError: org/codehaus/jackson/map/ObjectMapper.setSerializationInclusion&amp;#40;Lorg/codehaus/jackson/map/annotate/JsonSerialize$Inclusion&amp;#59;&amp;#41;Lorg/codehaus/jackson/map/ObjectMapper&amp;#59;
  </code></pre>