This rule flags javax.ws.rs.Path method annotations that define the same path across more than one method.
In Jakarta EE 9 sub-resource methods and sub-resource locators should be unique. Defining the same sub-resource methods and sub-resource locators will result in an error.
For more information, see Subresource locator methods path names.