jjzjj

WebSecurityExpressionRoot

全部标签

java - EL1008E :(pos 8):Property or field cannot be found on object of type '...security.web.access.expression.WebSecurityExpressionRoot' maybe not public?

我正在使用SpringMVC(版本4.3.1.RELEASE)开发Spring-Security-Access-Control-Example+SpringSecurity(4.1.1.RELEASE)。只是想在Web应用程序上实现访问控制或授权。当我简单地启动URL时:http://localhost:8080/Spring-Security-Access-Control-Example/admin.我收到以下错误,我真的精疲力尽地解决了这个问题。错误信息/堆栈:java.lang.IllegalArgumentException:Failedtoevaluateexpression