How to specify multiple package names for service classes in REST web service using Jersey
You can't specify multiple <param-value>
for a single <param-name>
.
Use this instead:
<init-param>
<param-name>jersey.config.server.provider.packages</param-name>
<param-value>com.pack.first;com.pack.rest.second</param-value>
</init-param>
;
and ,
can be used as a separators.