Getting "Caused by: java.lang.NoClassDefFoundError: org.apache.cxf.service.model.BindingOperationInfo" error while running the bundle in fuse.

Solution Verified - Updated -

Issue

  • The bundle is successfully installed, but while hitting the service we are getting "Caused by: java.lang.NoClassDefFoundError: org.apache.cxf.service.model.BindingOperationInfo not found by SampleService [269].
Caused by: java.lang.NoClassDefFoundError: org.apache.cxf.service.model.BindingOperationInfo not found by SampleService [269]
    at com.sun.proxy.$Proxy72.<clinit>(Unknown Source)[269:PanService:1.0.0]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.8.0_66]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_66]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_66]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)[:1.8.0_66]
    at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:739)[:1.8.0_66]
    at org.apache.cxf.common.util.ProxyHelper.getProxyInternal(ProxyHelper.java:46)
    at org.apache.cxf.common.util.CglibProxyHelper.getProxyInternal(CglibProxyHelper.java:73)
    at org.apache.cxf.common.util.ProxyHelper.getProxy(ProxyHelper.java:86)
    at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:175)[97:org.apache.cxf.cxf-rt-frontend-simple:3.0.4.redhat-621084]
    at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
    at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
    at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:359)
    at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:350)
    at javax.xml.ws.Service.getPort(Service.java:46)[:2.5.0]

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

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