Hi,
See the dependencies section of the user guide:
https://jersey.dev.java.net/nonav/documentation/latest/user-
guide.html#chapter_deps
it describes, and has links to, what jars are required for what
features.
Basically if you are using SE 6 then the set of jars you first
presented should be sufficient if you want to use JAXB as it is
shipped with SE 6. JAXB requires that classes are annotated with JAXB-
related annotations e.g. @XmlRootElement.
For example, see:
http://download.java.net/maven/2/com/sun/jersey/samples/jaxb/1.1.5.1/jaxb-1.1.5.1-project.zip
Paul.
On Apr 14, 2010, at 1:52 AM, Leonardo wrote:
> hello all.
>
> i'm new with jersey and can't use maven due to proxy issues.
>
> i would like to set up a minimal jersey configuration to enable a
> small service to work:
>
> http://pastebin.com/1pJZeUdc
>
> actually only ping works, but i would like to see the pojo and the
> list onde working.
>
> my classpath have those jars for now:
>
> * jersey-core-1.1.5.1.jar
> * jersey-server-1.1.5.1.jar
> * jsr311-api-1.1.jar
> * asm-3.1.jar
>
> i have the jersey servlet configured too. he's doing a full scan on my
> classpath to find resources:
>
> http://pastebin.com/DFKuzGUR
>
> now which jars do i have to add to enable transparent xml <==> bean
> transformation? do i have do add any kind of annotation on the bean?
>
> i've downloaded already the following jars:
>
> * jaxb-api-2.1.jar
> * jaxb-impl-2.1.12.jar
> * stax-api-1.0-2.jar
> * wstx-asl-3.2.1.jar
> * FastInfoset-1.2.2.jar
> * jersey-json-1.1.5.1.jar
> * mimepull-1.3.jar
> * activation-1.1.jar
> * jersey-multipart-1.1.5.1.jar
> * jackson-core-asl-1.1.1.jar
> * jettison-1.1.jar
> * mail-1.4.jar
>
>
> but i don't want to add them all, just "the right ones", :)
>
> thanks in advance.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>