Marc Hadley wrote:
> JAX-RS is still changing, 0.4 of Jersey implements this API:
>
> https://jsr311.dev.java.net/nonav/releases/0.4/index.html
>
> For 0.4 s/Path/UriTemplate/
>
If you are unsure of versions dependencies you can check the manifest of
the jersey.jar and it will tell you.
Jersey 0.5 (which is currently in the trunk) will support 0.5 of JAX-RS
[1] (note that we have almost made all the API related changes, just one
to go). However, i recommend sticking the 0.4 stable release until the
stable 0.5 release is available.
Jersey and JAX-RS are in the java.net maven (1) respository [2].
Alternatively you can download the distribution here [3] it contains all
the relevant jars and the java documentation for the JAX-RS API and the
Jersey API.
We don't currently push latest or nightly builds to the maven repository
(i.e. we only push the stable ones).
Paul.
[1]
https://jsr311.dev.java.net/nonav/releases/0.5/index.html
[2]
http://download.java.net/maven/1/jersey/
http://download.java.net/maven/1/javax.ws.rs/
[3]
https://jersey.dev.java.net/servlets/ProjectDocumentList?folderID=7654&expandFolder=7654&folderID=0
> Marc.
>
> On Dec 5, 2007, at 10:41 AM, Farrukh Najmi wrote:
>
>>
>> I am using jersey in my maven project with following pom dependency:
>>
>> <dependency>
>> <groupId>jersey</groupId>
>> <artifactId>jersey</artifactId>
>> <version>0.4-ea</version>
>> </dependency>
>>
>> I am getting compile errors because imports like following can't be
>> found:
>>
>> import javax.ws.rs.Path;
>>
>> I looked inside the latest javadoc and the Path annotation exists there:
>>
>> https://jsr311.dev.java.net/nonav/javadoc/javax/ws/rs/Path.html
>>
>> I loked inside jsr311-api-0.4.jar and it does not exist there:
>>
>> http://download.java.net/maven/1/javax.ws.rs/jars/jsr311-api-0.4.jar
>>
>> What am I missing? Thanks.
>>
>> --
>> Regards,
>> Farrukh Najmi
>>
>> Web: http://www.wellfleetsoftware.com
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
> ---
> Marc Hadley <marc.hadley at sun.com>
> CTO Office, Sun Microsystems.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109