Hi All,
I am new to
Maven and REST Web Services.I am trying one of the REST tutorial from Google. When i try to add @Path("/") before Service End point interface.
It is throwing below compilation Error.
Multiple markers at this line
- The attribute value is undefined for the annotation
type Path
- Path cannot be resolved to a type
How error I have added below to my pom.xml.
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.0.1</version>
</dependency>
Can anyone please let me know how to resolve this?
In fact i am getting error with other annotation as well (e.g. @GET, @Produces etc.)
Thanks