java.lang.IllegalStateException: No MethodInvocation found: Check that an AOP in

532 阅读1分钟

java.lang.IllegalStateException: No MethodInvocation found: Check that an AOP invocation is in progress, and that the ExposeInvocationInterceptor is upfront in the interceptor chain. Specifically, note that advices with order HIGHEST_PRECEDENCE will execute before ExposeInvocationInterceptor!

这是springmvc.xml中AOP expression表达式语法错了,改一下就行了。

参考改法: experssion表达(是看过有效果,不是推荐)