Can't get CamelBlueprintTestSupport test to work for Camel CXF project

Solution Verified - Updated -

Issue

  • We have a project based on the camel-exmaple-cxf-proxy that was converted to Blueprint. We are trying to rewrite the test using another project we did in which we were able to get the CamelBlueprintTestSupport tests to work properly.

  • The project blows up complaining about not finding a class:

Caused by: java.lang.NoClassDefFoundError: org/osgi/service/log/LogService
  • After making the changes in the pom.xml file, we are getting,
org.osgi.service.blueprint.container.ComponentDefinitionException: java.lang.IncompatibleClassChangeError: class org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator has interface org.objectweb.asm.ClassVisitor as super class

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • Apache Camel
  • Apache Aries, Blueprint

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