If you prefer not to or cannot use the plugin, you must declare the classes that are annotated with an AOP annotation to be open:

    The plugin does not handle methods. If you declare an AOP annotation on a method, you must manually declare it as open.