Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error "EL1041E" on nested property #532

Closed
ZeeD opened this issue Sep 10, 2020 · 1 comment
Closed

error "EL1041E" on nested property #532

ZeeD opened this issue Sep 10, 2020 · 1 comment
Milestone

Comments

@ZeeD
Copy link

ZeeD commented Sep 10, 2020

Hi.
hi have this property:

properties = {k1: {'v11'}, k2: {'v21', 'v22'}, k3: {}}

and I want to retrieve it as

@Value("#{ ${properties} }")
Map<String, List<String>> properties;

I have the error

EL1041E: After parsing a valid expression, there is still more data in the expression: 'lcurly({)'

using Eclipse Version: 2020-09 RC1 (4.17.0 RC1) + Spring Tool Suite 4 Main Feature 4.7.2.202009021121-RELEASE

but on previous version of the ide (and in my code) was not an error

@martinlippert martinlippert added this to the 4.8.0.RELEASE milestone Sep 10, 2020
@martinlippert
Copy link
Member

This is a duplicate of #529 and fixed in the upcoming version 4.8.0. In the meantime, you can turn off the SpEL expression validation, as described in the mentioned issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants