Forum Discussion
richie
6 years agoCommunity Hero
Hey New2API & @Rao
thanks and Kudos to both - my script was generating multiple compilation errors on the code snippet to extract the property value:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script15.groovy: 41: Ambiguous expression could be a parameterless closure expression, an isolated open code block, or it may continue a previous statement; solution: Add an explicit parameter list, e.g. {it -> ...}, or force it to be treated as an open block by giving it a label, e.g. L
@Rao - yep that works - thank you! Exactly what I need!
Cheers!
richie
Related Content
- 5 years ago
- 5 years ago
Recent Discussions
- 5 days ago
- 10 days ago