Getting "IllegalArgumentException: No script engine could be created for: spel" error in FSW 6
Issue
- I observe discrepancies between Maven dependencies and Fuse Service Works.
-
With JBDS and the official SwitchYard dependencies, I develop a component with the following code in an XML Camel route:
<choice> <when> <spel>#{exchange.in.fault}</spel> -
The route works fine with
SwitchYardTestKit. -
Running in Fuse Service Works 6.0.0, the route fails:
java.lang.IllegalArgumentException: No script engine could be created for: spel
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
