]
Ramesh Reddy reassigned TEIID-3863:
-----------------------------------
Assignee: Ramesh Reddy (was: Steven Hawkins)
upgrade spring version
----------------------
Key: TEIID-3863
URL:
https://issues.jboss.org/browse/TEIID-3863
Project: Teiid
Issue Type: Task
Components: Misc. Connectors
Affects Versions: 8.13
Reporter: Kylin Soong
Assignee: Ramesh Reddy
Fix For: 8.13
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
{code}
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
{code}
run [1] will reproduce this issue.
[1]
https://github.com/teiid/teiid-embedded-examples/tree/master/restservice-...