Check for local interfaces in the Application.getClasses() return value

This rule flags implementations of the javax.ws.rs.Application.getClasses() method. The jaxrs-2.0 and jaxrs-2.1 features ignore enterprise bean local interfaces added to the set returned by this method. The restfulws-3.0 feature throws an exception when enterprise bean local interfaces are added to the set returned by this method.

If you see java.lang.RuntimeException: RESTEASY003190 errors on application start, you might be using a local interface instead of the implementation class when specifying an enterprise bean. Specify the implementation class for enterprise beans, instead of the local interface.

For further information, see Differences between Jakarta EE 9.1 and 8.0.