Spring boot mvc legacy integration issue
<p>Hi I am integrating spring boot with legacy application using spring boot legacy.</p>

<pre><code>&lt;listener&gt;
    &lt;listener-class&gt;org.springframework.boot.legacy.context.web.SpringBootContextLoaderListener&lt;/listener-class&gt;
&lt;/listener&gt;
</code></pre>

<p>This is the context listener i am using. After integration my controller endpoint is </p>

<p>HTTP Status 406 -</p>

<p>type Status report</p>

<p>message</p>

<p>description The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers.</p>

<p>The same application when run standalone is giving response properly . What is the miss in integrating legacy.</p>