On Aug 10, 2012, at 5:39 PM, purecharger <[email protected]> wrote:

> I'm getting a pretty nasty Spring exception when attempting to startup my app
> server using CXF, and I think it may be related to the version of Spring I
> am using, which is v2.5.6.
> 
> Is there anything in CXF v2.6.1 that would prevent me from deploying with
> this version of Spring?

Well, we pretty much just test with Spring 3.0.x now.   However, we haven't 
done anything to explicitly make it stop working with 2.5.6 (such as remove 
usage of the deprecated methods).  Thus, it somewhat surprises me that it 
doesn't work.  If you want to create a simple test case that shows the problem 
and log a bug, I may be able to look into it.   It could be something simple 
where we started using a new API where we could use one of the old methods, 
don't really know.

Dan


> 
> Here is the full text of the stack trace:
> 
> http://pastebin.com/g0hRifg8
> 
> and a snippet:
> 
> 
> 2012-08-10 14:14:59,351 [main] ERROR
> org.springframework.web.context.ContextLoader - Context initialization
> failed
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name '_filterChainProxyPostProcessor': Initialization of bean failed;
> nested exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'cxf' defined in class path resource
> [META-INF/cxf/cxf.xml]: Initialization of bean failed; nested exception is
> java.lang.reflect.MalformedParameterizedTypeException
>       at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
>       at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> 
> ......
> 
> 
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'cxf' defined in class path resource
> [META-INF/cxf/cxf.xml]: Initialization of bean failed; nested exception is
> java.lang.reflect.MalformedParameterizedTypeException
>       at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
>       at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>       at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>       at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>       at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>       at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>       at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>       at
> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880)
>       at
> org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.getResourceManager(Jsr250BeanPostProcessor.java:91)
>       at
> org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.postProcessBeforeInitialization(Jsr250BeanPostProcessor.java:136)
> 
> 
> 
> 
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/CXF-2-6-1-supported-Spring-versions-tp5712317.html
> Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to