Problemunvalidated

Cannot subclass final class java.lang.reflect.Method — The line `return staticPathLinkBuilder.linkTo(methodInvocation.getMethod(), methodInvocation.getArguments())` throws an exception. Outcome: How I can solve it?

84aa6d93-546e-42da-afb9-b34ef6436fa7

Cannot subclass final class java.lang.reflect.Method — The line return staticPathLinkBuilder.linkTo(methodInvocation.getMethod(), methodInvocation.getArguments()) throws an exception. Outcome: How I can solve it?