Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 36955 invoked from network); 20 Apr 2010 09:41:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Apr 2010 09:41:23 -0000 Received: (qmail 54552 invoked by uid 500); 20 Apr 2010 09:41:20 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 53376 invoked by uid 500); 20 Apr 2010 09:41:18 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 51798 invoked by uid 99); 20 Apr 2010 09:41:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 09:41:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 09:41:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3K9egE6009515 for ; Tue, 20 Apr 2010 09:40:42 GMT Message-ID: <31778720.82531271756442936.JavaMail.jira@thor> Date: Tue, 20 Apr 2010 05:40:42 -0400 (EDT) From: "Freeman Fang (JIRA)" To: issues@cxf.apache.org Subject: [jira] Created: (CXF-2773) should specify version range for net.sf.cglib optional import MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org should specify version range for net.sf.cglib optional import ------------------------------------------------------------- Key: CXF-2773 URL: https://issues.apache.org/jira/browse/CXF-2773 Project: CXF Issue Type: Bug Components: OSGi Reporter: Freeman Fang Fix For: 2.3, 2.2.8 to keep it same as the optional org.springframework.beans import which optional import net.sf.cglib.proxy;version="[2.1.3, 2.2.0)". Currently cxf bundle optional import net.sf.cglib, but doesn't specify the version range, also cxf bundle optional import org.springframework.beans, which optional import net.sf.cglib with version range [2.1.3, 2.2.0), so this could cause problem when osgi container have net.sf.cglib 2.2.0 version, which meet the cxf bundle optional import net.sf.cglib, but not for the spring beans bundle optional import net.sf.cglib with version range [2.1.3, 2.2.0), so that the org.springframework.beans isn't available for cxf bundle as it's only optional, this can cause exception when parse cxf.xml Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/beans/factory/support/ManagedSet at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.