java.lang.ClassNotFoundException: org.hibernate.integrator.spi.Integrator not found by org.apache.servicemix.bundles.spring-orm

Solution Verified - Updated -

Issue

  • We are observing following error. It get resolved if we run dynamic-import karaf command on bundle org.apache.servicemix.bundles.spring-orm [282]. But that is not possible to run in production environment.
Caused by: java.lang.ClassNotFoundException: org.hibernate.integrator.spi.Integrator not found by org.apache.servicemix.bundles.spring-orm [282]
    at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639) ~[?:?]
    at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80) ~[?:?]
    at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053) ~[?:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_275]
    at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_275]
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_275]
    at java.lang.Class.privateGetPublicMethods(Class.java:2902) ~[?:1.8.0_275]
    at java.lang.Class.getMethods(Class.java:1615) ~[?:1.8.0_275]

Environment

  • Red Hat Fuse
    • 7.8 on Karaf

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