You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2010/04/20 11:40:42 UTC

[jira] Created: (CXF-2773) should specify version range for net.sf.cglib optional import

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.


[jira] Assigned: (CXF-2773) should specify version range for net.sf.cglib optional import

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned CXF-2773:
---------------------------------

    Assignee: Freeman Fang

> 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
>            Assignee: 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.


[jira] Resolved: (CXF-2773) should specify version range for net.sf.cglib optional import

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved CXF-2773.
-------------------------------

    Resolution: Fixed

commit fix
http://svn.apache.org/viewvc?rev=935819&view=rev for trunk
http://svn.apache.org/viewvc?rev=935820&view=rev for 2.2 branch

> 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
>            Assignee: 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.