Configuring provider packages in web.xml with Jersey
<p>I am working on a web service and I get very strange error.
This is the line from my <code>web.xml</code>:</p>

<pre class="lang-xml prettyprint-override"><code>&lt;init-param&gt;
    &lt;param-name&gt;jersey.config.server.provider.packages&lt;/param-name&gt;
    &lt;param-value&gt;service&lt;/param-value&gt;
&lt;/init-param&gt;
</code></pre>

<p>As I know, <code>&lt;param-value&gt;</code> has to be referred in to the package my main application is. However, my application is in <code>rest.main</code> package, but the web service works only with the <code>service</code> value as defined above. </p>

<p>What is the problem, can somebody explain me these lines?</p>