cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sateesh Chodapuneedi <sateesh.chodapune...@citrix.com>
Subject RE: bean injection failure
Date Thu, 11 Jul 2013 04:30:53 GMT
Vijay,
I did clean build. Not seeing error.
Is ListVmwareDcsCmd.class in one of the jars? Probably you might want to do a grep in target
directory.

- Sateesh
> -----Original Message-----
> From: Kelven Yang
> Sent: 11 July 2013 06:59
> To: dev@cloudstack.apache.org
> Cc: Sateesh Chodapuneedi
> Subject: Re: bean injection failure
> 
> 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.AutowiredAnnotationBeanPos
> >tPr
> >ocessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.
> >jav
> >a:287)
> >        at
> >org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa
> >cto
> >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