cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Roux <antoine.r...@net-vitesse.com>
Subject Re: Invocation of init method failed
Date Wed, 22 Jul 2009 11:44:23 GMT
It looks like you told Spring that it had to call the method init() on 
your bean CallNotification but that it does not have such a method.

CallNotification is one of your own class, not a CXF one, is it ?

You should look in your Spring configuration. Check whether you used 
default-init-method or init-method.



bruno tapdur a écrit :
> Hi all,
>
> i am getting down with this error, any idea ?
>
> i have a simple project wsdl first with dependencies  cxf-bundle 2.2.2 +
> xerces 2.8.1 (not in cxf-bundle)
> i have only one method with one param. and at deply time i have this error
>
> i cheched duplicate class but in loss.
>
>
> 2009-07-22 11:24:25,920 ERROR
> [org.springframework.web.context.ContextLoader] - <Context initialization
> failed>
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'CallNotification': Invocation of init method failed; nested
> exception is java.lang.IncompatibleClassChangeError
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>         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)
>
>
>
>
> Best  Regards
>
> Bruno
>
>   

Mime
View raw message