You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (JIRA)" <ji...@apache.org> on 2016/03/23 16:27:25 UTC
[jira] [Created] (FC-162) [ fortress-rest ] Upgrade to Apache CXF
3.x (and latest Spring)
Shawn McKinney created FC-162:
---------------------------------
Summary: [ fortress-rest ] Upgrade to Apache CXF 3.x (and latest Spring)
Key: FC-162
URL: https://issues.apache.org/jira/browse/FC-162
Project: FORTRESS
Issue Type: Improvement
Affects Versions: 1.0.0-RC40, 1.0.0-RC42
Reporter: Shawn McKinney
Fix For: 1.0.0
Upgrade to latest dependencies for Spring and Apache CXF:
<spring.version>4.2.5.RELEASE</spring.version>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-core</artifactId>
<version>3.1.5</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
<version>3.1.5</version>
</dependency>
Causes this error. Determine cause and fix
2016-03-23 10:22:23,489 (INFO ) FortressInterceptor.setSecuredObject:org.apache.directory.fortress.rest.FortressServiceImpl@4226dec6
2016-03-23 10:22:23,493 (WARN ) Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restContainer': Cannot resolve reference to bean 'annotationsInterceptor' while setting bean property 'inInterceptors' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'annotationsInterceptor' defined in class path resource [applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'securedObject' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.aop.support.AopUtils.isCglibProxyClass(Ljava/lang/Class;)Z
2016-03-23 10:22:23,495 (ERROR) Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restContainer': Cannot resolve reference to bean 'annotationsInterceptor' while setting bean property 'inInterceptors' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'annotationsInterceptor' defined in class path resource [applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'securedObject' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.aop.support.AopUtils.isCglibProxyClass(Ljava/lang/Class;)Z
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolve
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)