在方法上插入下面的注解后保存的
@At("/delete")
@RequiresPermissions("user.delete")
java.lang.IllegalArgumentException: org.apache.shiro.aop.MethodInvocation parameter incorrectly constructed. getMethod() returned null
[2017-02-22 15:40:59]DEBUG org.nutz.mvc.impl.UrlMappingImpl : Found mapping for [GET] path=/login/logout : LoginController.logout(LoginController.java:87)
at org.apache.shiro.aop.DefaultAnnotationResolver.getAnnotation(DefaultAnnotationResolver.java:58)
at org.apache.shiro.aop.AnnotationMethodInterceptor.getAnnotation(AnnotationMethodInterceptor.java:148)
at org.apache.shiro.aop.AnnotationMethodInterceptor.supports(AnnotationMethodInterceptor.java:134)
at org.apache.shiro.authz.aop.AnnotationsAuthorizingMethodInterceptor.assertAuthorized(AnnotationsAuthorizingMethodInterceptor.java:99)
at org.nutz.integration.shiro.NutShiroMethodInterceptor.assertAuthorized(NutShiroMethodInterceptor.java:40)
at com.yling.common.processor.NutShiroProcessor.process(NutShiroProcessor.java:49)
at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:198)