XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 8.13
    • 8.13
    • Misc. Connectors
    • None

      The spring version(current use 3.0.7.RELEASE) need to be update, as
      http://mvnrepository.com/artifact/org.apache.cxf/cxf-core/3.0.5
      CXF 3.0.5 compatible spring version is 3.2.6.RELEASE. This cause ws resource adapter run failed in embedded

      Caused by: java.lang.NoSuchMethodError: org.springframework.util.ClassUtils.isCglibProxyClass(Ljava/lang/Class;)Z
      	at org.apache.cxf.common.util.SpringAopClassHelper.getRealClassInternal(SpringAopClassHelper.java:86)
      	at org.apache.cxf.common.util.ClassHelper.getRealClass(ClassHelper.java:85)
      	at org.apache.cxf.jaxrs.provider.ProviderFactory.setCommonProviders(ProviderFactory.java:498)
      	at org.apache.cxf.jaxrs.client.ClientProviderFactory.setProviders(ClientProviderFactory.java:85)
      	at org.apache.cxf.jaxrs.provider.ProviderFactory.initBaseFactory(ProviderFactory.java:137)
      	at org.apache.cxf.jaxrs.client.ClientProviderFactory.initBaseFactory(ClientProviderFactory.java:77)
      	at org.apache.cxf.jaxrs.client.ClientProviderFactory.createInstance(ClientProviderFactory.java:56)
      	at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.initClient(JAXRSClientFactoryBean.java:377)
      	at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.createWebClient(JAXRSClientFactoryBean.java:225)
      	at org.teiid.resource.adapter.ws.WSConnectionImpl$HttpDispatch.createWebClient(WSConnectionImpl.java:141)
      	at org.teiid.resource.adapter.ws.WSConnectionImpl$HttpDispatch.invoke(WSConnectionImpl.java:168)
      	at org.teiid.resource.adapter.ws.WSConnectionImpl$HttpDispatch.invoke(WSConnectionImpl.java:123)
      	at org.teiid.translator.ws.BinaryWSProcedureExecution.execute(BinaryWSProcedureExecution.java:155)
      	at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:349)
      	... 17 more
      

      run [1] will reproduce this issue.

      [1] https://github.com/teiid/teiid-embedded-examples/tree/master/restservice-as-a-datasource

              rhn-engineering-rareddy Ramesh Reddy
              kylinsoong.1214@gmail.com Kylin Soong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: