When calling a method with arguments using the <evaluate> tag in a spring webflow XML definition I get the error SpelEvaluationException: EL1004E: Method call: xxx cannot be found.
I am using Spring Boot Devtools for automatic server restart upon changes.
The embedded LiveReload server uses two classloaders, and thinks the the classes of the parameters supplied by spel in the XML are different from the (same) classes in your Java code.
Hence the method is not found, and an exception is thrown.
Possible Solutions:
- Do not use Spring Boot Devtools for Spring Web Flow projects
- Follow the guidance in the description of the bug
No comments:
Post a Comment