I am working through examples in Restful Java with JAX-RS by Bill Burke. I\'m using intellij and created a Maven project to make a \"Hello World\" web service. I understan
g:"javax.ws.rs" AND a:"jsr311-api"
http://search.maven.org/
Try searching for the class on Central. It looks like jaxrs-api
is what you're looking for; there are a couple of different packagers, and which one you want is probably whichever goes with your container.
Add below lines in pom.xml
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.0</version>
</dependency>