org.hibernate.proxy.HibernateProxy not found by org.apache.camel.camel-jpa

Solution Verified - Updated -

Issue

  • Getting following Class loading exception, while deploying camel-jpa project on a fuse-karaf, in fabric environment
Caused by: java.lang.ClassNotFoundException: org.hibernate.proxy.HibernateProxy not found by org.apache.camel.camel-jpa [835]
    at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)
    at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
    at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_111]
  • Installed hibernate, jpa and camel-jpa features.
  • As per KCS : 753293, Explicitly included Hibernate proxy and Javassist in the configuration of Maven Bundle plugin.

  • But still the issue persists.

Environment

  • Red Hat JBoss Fuse
    • 6.x

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