You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Vi Da <vi...@yahoo.com> on 2008/10/08 05:39:01 UTC
BeanCreationException using cxf 2.1.2
Hello,
I see an exception (trace below) when I deploy a simple testws web service created using a wsdl first
on tomcat-6.0.14. Any idea why its not able to see a default ctor.
thanks
-vida
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testws': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.jaxws.spring.EndpointDefinitionParser$SpringEndpointImpl]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.apache.cxf.jaxws.spring.EndpointDefinitionParser$SpringEndpointImpl.<init>()
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.jaxws.spring.EndpointDefinitionParser$SpringEndpointImpl]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.apache.cxf.jaxws.spring.EndpointDefinitionParser$SpringEndpointImpl.<init>()
Caused by: java.lang.NoSuchMethodException: org.apache.cxf.jaxws.spring.EndpointDefinitionParser$SpringEndpointImpl.<init>()
at java.lang.Class.getConstructor0(Class.java:2706)
at java.lang.Class.getDeclaredConstructor(Class.java:1985)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy..instantiate(SimpleInstantiationStrategy.java:54)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:757)