thymeleaf-extras-springsecurity icon indicating copy to clipboard operation
thymeleaf-extras-springsecurity copied to clipboard

EL1043E: Unexpected token. Expected 'rparen())' but was 'lcurly({)'

Open 1248142645 opened this issue 2 years ago • 0 comments

version: spring.core-5.1.7.RELEASE spring-expression-5.1.7.RELEASE spring.security.web-5.1.5.RELEASE thymeleaf-extras-springsecurity5-3.0.4.RELEASE

code:

exception: Caused by: org.springframework.expression.spel.SpelParseException: Expression [hasAnyAuthority('Forum_2', 'Forum_'+${post.forumId})] @37: EL1043E: Unexpected token. Expected 'rparen())' but was 'lcurly({)' at org.springframework.expression.spel.standard.InternalSpelExpressionParser.internalException(InternalSpelExpressionParser.java:1044) ~[spring-expression-5.1.7.RELEASE.jar:5.1.7.RELEASE]

Or tell me where the source path is hasAnyAuthority

1248142645 avatar Jun 06 '23 06:06 1248142645