cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kelven Yang <kelven.y...@citrix.com>
Subject Re: bean injection failure
Date Thu, 11 Jul 2013 01:29:28 GMT
Is ListVmwareDcsCmd.class in one of the jars?

Kelven

On 7/10/13 5:55 PM, "Vijayendra Bhamidipati"
<vijayendra.bhamidipati@citrix.com> wrote:

>I'm running into the following spring exception when starting up the
>mgmt. server on latest master:
>
>org.springframework.beans.factory.BeanCreationException: Error creating
>bean with name 'apiDiscoveryServiceImpl': Injection of autowired
>dependencies failed; nested exception is
>org.springframework.beans.factory.BeanCreationException: Could not
>autowire field: protected java.util.List
>org.apache.cloudstack.discovery.ApiDiscoveryServiceImpl._services; nested
>exception is org.springframework.beans.factory.BeanCreationException:
>Error creating bean with name 'VmwareManager' defined in class path
>resource [nonossComponentContext.xml]: BeanPostProcessor before
>instantiation of bean failed; nested exception is
>java.lang.NoClassDefFoundError: ListVmwareDcsCmd
>        at 
>org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostPr
>ocessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.jav
>a:287)
>        at 
>org.springframework.beans.factory.support.AbstractAutowireCapableBeanFacto
>ry.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
>.
>.
>
>Looks like the ListVmwareDcsCmd bean is missing - I tried adding it to
>applicationContext.xml.in and even nonosscomponentContext.xml.in, but
>that isn't fixing the issue, and it's unclear to me why that's happening.
> Sateesh/team, can you please take a look?
>
>Cheers!
>Regards,
>Vijay


Mime
View raw message