Fuse 7.8 on Karaf: org.springframework.util.function.SingletonSupplier not found by org.apache.servicemix.bundles.spring-jdbc

Solution Verified - Updated -

Issue

When starting an OSGi bundle that uses spring-jdbc, Fuse throws a ClassCastException, the salient message of which is:

org.springframework.util.function.SingletonSupplier not found by org.apache.servicemix.bundles.spring-jdbc

Environment

  • Red Hat Fuse
    • 7.8 (on Karaf)

Probably earlier versions of Fuse 7 are affected; later versions that 7.8 should not be.

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