title: In Spite of using Jackson for JSON, the code uses eclipse's yasson parser
body: <p>I am working on Restful Application to Run on Payara 5. In POM, even if I specify the Jackson parser, during the runtime, I continue to see Eclipse yasson. </p>
  
  <p>I know Payara 5 comes with yasson parser for JSON, but given the reputation of Jackson, I want to give it a go.</p>
  
  <p>Jackson dependencies in POM</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-annotations&lt;/artifactId&gt;
          &lt;version&gt;2.9.9&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-core&lt;/artifactId&gt;
          &lt;version&gt;2.9.9&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-databind&lt;/artifactId&gt;
          &lt;version&gt;2.9.9.2&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>Make changes in web.xml to use Jackson instead</p>
  
  <pre><code>&lt;context-param&gt;
      &lt;param-name&gt;jersey.config.jsonFeature&lt;/param-name&gt;
      &lt;param-value&gt;JacksonFeature&lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>
  
  <p>In the compiled sources i.e. the web app in the target folder generated by Maven,
  I see all the Jackson jars in it (sorry can't attach the snapshot here.) </p>
  
  <p>I expect a JSON message coming out of the Restful application, but all I see is this message on console:</p>
  
  <pre><code>Generating incomplete JSON|#]
  
  java.lang.StackOverflowError
  
  java.lang.StackOverflowError
  
  at org.eclipse.yasson.internal.serializer.
   DefaultSerializers.findByCondition(DefaultSerializers.java:130)
  </code></pre>
  
  <p>Well, I am aware there are two issues here and the first one is the "StackOverflowError". However, my priority right now is to fix the Jackson-Yasson issues. So would be grateful, if any one can help.</p>