With Esper library getting issue- ClassNotFoundException: net.sf.cglib.asm.util.TraceClassVisitor.

Solution Unverified - Updated -

Issue

  • I have developed a component that use com.espertech/esperha-core/5.3.0 library and it dependecies from cglib/cglib-nodep/3.1
  • But I get the following error:
Caused by: java.lang.ClassNotFoundException: net.sf.cglib.asm.util.TraceClassVisitor not found by org.apache.servicemix.bundles.cglib [217]
        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_65]
  • In Red Hat JBoss Fuse version 6.1 there were no issue but it breaks in JBoss Fuse version 6.2.1, why ?

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.