A resource model has ambiguous (sub-)resource method for HTTP method GET and input mime-types as defined by“@Consumes” and “@Produces” annotations

后端 未结 4 1384
北荒
北荒 2021-01-17 17:37

How can the following produce this error when they have different URLs ?

@Path(\"/job/{empId}/empProfile\")
public EmpProfileResource delegateToEventProfileR         


        
4条回答
  •  悲&欢浪女
    2021-01-17 18:08

    This error arises if we have written @PathParam instead of @Path in our service class or where ever we are defining the path for same.

提交回复
热议问题