users@jersey.java.net

[Jersey] Re: jackson-mapper dependency

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Mon, 10 Sep 2012 10:05:48 -0700

On Mon, Sep 10, 2012 at 6:51 AM, Pavel Bucek <pavel.bucek_at_oracle.com> wrote:
> Hello Duncan,
>
> looks like this is a problem with jackson-mapper-asl.jar. I'm not sure why,
> but its manifest contains:
>
> ""
> Private-Package: org.codehaus.jackson.map.ext
> ""
>
> and org.codehaus.jackson.map.ext is not in "Export-package" header. So you
> can file an issue or ask for opinion on jackson mailing list, we can't do
> much more. Adding jackson-mapper jar into your war seems to be acceptable
> workaround.

This does indeed look like an error in Jackson mapper packaging:
external handlers should be exported and not considered private
packages.

So if possible, please file a bug at
http://jira.codehaus.org/browse/JACKSON and next 1.9.x version can fix
it.

-+ Tatu +-