This rule flags any javax.ws.rs.ApplicationPath annotations with a specified value that ends in /*.
The jaxrs-2.0 and jaxrs-2.1 Liberty features support the use of /* at the end of the ApplicationPath annotation's value as a wildcard.
For example, both @ApplicationPath("/my/rest/application/*") and @ApplicationPath("/my/rest/application") would register resources of the Application subclass under the same application path of /my/rest/application/<subpath>.
The restfulWS-3.0 Liberty feature always interprets /* in an ApplicationPath annotation value as a literal string, so @ApplicationPath("/my/rest/application/*") would register resources of the Application subclass under the application path /my/rest/application/*/<subpath>.
Remove the /* from the end of the @ApplicationPath value. An automated fix is provided to perform this removal. Copy the custom configuration to your application build file to enable the fix automation.
For further information, see Differences between Jakarta EE 9.1 and 8.0.