directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn McKinney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FC-162) [ fortress-rest ] Upgrade to Apache CXF 3.x (and latest Spring)
Date Sun, 17 Jul 2016 00:45:20 GMT

    [ https://issues.apache.org/jira/browse/FC-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15381005#comment-15381005
] 

Shawn McKinney commented on FC-162:
-----------------------------------

Upgrade to latest Spring and CXF:

    <cxf.version>3.1.6</cxf.version>
    <spring.version>4.3.1.RELEASE</spring.version>
    <spring.security.version>4.0.4.RELEASE</spring.security.version>

> [ 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.1
>
>
> 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)

Mime
View raw message