Vote count:
0
Here's my code
@Path("/users/{id}")
public class MyResource {
@GET
@Produces(MediaType.TEXT_PLAIN)
public String getId(@PathParam("id") String id) {
return "Getting Messages for User : " + userName;
}
}
All i get is
..\MyResource.java:[17,29] error: cannot find symbol
[ERROR] symbol: class PathParam
[ERROR] location: class MyResource
So far i have checked both this http://ift.tt/19gL75Q
& this
maven "cannot find symbol" message unhelpful
but without any success.
asked 1 min ago
Cannot find symbol PathParam in Jersey
Aucun commentaire:
Enregistrer un commentaire