Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7B0D1200B55 for ; Sun, 17 Jul 2016 02:45:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6D4B3160A7C; Sun, 17 Jul 2016 00:45:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B3D51160A6C for ; Sun, 17 Jul 2016 02:45:21 +0200 (CEST) Received: (qmail 54928 invoked by uid 500); 17 Jul 2016 00:45:20 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 54918 invoked by uid 99); 17 Jul 2016 00:45:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jul 2016 00:45:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 976542C0034 for ; Sun, 17 Jul 2016 00:45:20 +0000 (UTC) Date: Sun, 17 Jul 2016 00:45:20 +0000 (UTC) From: "Shawn McKinney (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FC-162) [ fortress-rest ] Upgrade to Apache CXF 3.x (and latest Spring) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 17 Jul 2016 00:45:22 -0000 [ 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: 3.1.6 4.3.1.RELEASE 4.0.4.RELEASE > [ 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: > 4.2.5.RELEASE > > org.apache.cxf > cxf-core > 3.1.5 > > > org.apache.cxf > cxf-rt-frontend-jaxrs > 3.1.5 > > 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)