Getting "IllegalArgumentException: No script engine could be created for: spel" error in FSW 6

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content