File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Which JAR for javax.ws.rs.Path? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Which JAR for javax.ws.rs.Path?" Watch "Which JAR for javax.ws.rs.Path?" New topic
Author

Which JAR for javax.ws.rs.Path?

Russell Bateman
Ranch Hand

Joined: Feb 26, 2008
Posts: 69
...and other such symbols. I've wandered all over downloading JARs and trying them out in my Eclipse project without success. I'm still getting unresolved imports and usage for things like this.

What am I doing? I'm just beginning to write a sample RESTful web service using Jersey.

Thanks for any push out the door you can give me (including telling me a better forum for my question).

Russ Bateman
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41151
    
  45
The javax.ws.rs package in particular is in a file called jsr311-api-XYZ.jar (XYZ being the version). It -and all the other ones that are needed to use Jersey- is available from the Jersey download page.


Ping & DNS - my free Android networking tools app
Russell Bateman
Ranch Hand

Joined: Feb 26, 2008
Posts: 69
Thanks, that explains it. The Jersey download page is pretty confusing; I didn't want to have to build the JARs myself.

In fact, I appear to have found it. Where it says, "A zip of Jersey containing the Jersey jars, core dependencies (it does not provide dependencies for third party jars beyond the those for JSON support) and JavaDoc." Using those JARs I have eliminated the errors.

Thanks again,

Russ
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41151
    
  45
It sure is confusing. It seems they're trying to push people to use Maven, instead of providing a proper download page that lists all available jar files. https://jersey.dev.java.net/nonav/documentation/latest/user-guide.html#chapter_deps should list everything in section 7.
 
 
subject: Which JAR for javax.ws.rs.Path?
 
Similar Threads
Camera class and device path...
ClassCastException
national retail sales tax
Bad Office ettiquite
difference between integer & integer array