Am Montag, den 03.12.2007, 11:59 +0100 schrieb Tobias Luikard:

> Hello,
> 
> I want to upgrade from CXF 2.0.2 to 2.0.3. I changed all jars and tried
> a lot of things. But I can't get rid of this problem (see stacktrace.txt)
> 
> I even changed the spring version to 2.0.7 but this didn't help. :-(
> 
> You can find my cxf.xml also attached.
> 
> Any hint for me?
> 
> Thanks a lot!!
> 
> by
> 
> Tobi
> 
> 
> einfaches Textdokument-Anlage (stacktrace.txt)
> ...
> Offending resource: class path resource [cxf.xml]; nested exception is 
> org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected 
> exception parsing XML document from class path resource 
> [META-INF/cxf/cxf.xml]; nested exception is java.lang.StackOverflowError


Instead of cxf.xml (which should be just for bus configuration or
client-side configuration), please use cxf-servlet.xml or a Spring
application context.  

See the server configuration files section here:
http://cwiki.apache.org/CXF20DOC/configuration.html.

Both options have examples provided.

HTH,
Glen



Reply via email to