cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murali Reddy <>
Subject Re: Jetty Failing on latest master due to class UCS manager not Found
Date Fri, 29 Mar 2013 10:31:54 GMT
On 29/03/13 12:45 AM, "Chiradeep Vittal" <>

>For optional dependencies, JSR330 injection requires using setter
>You should write
>@Inject void setGslbProvider(GslbProvider provider) {
>  this._gslbProvider = provider;

Thanks Chiradeep for suggestion. But due to Spring default behaviour with
@Inject, both setter and interface injection fails if there is no

For now, I am just initializing through the bean property configured in
componentContext.xml and nonossComponentContext.xml.

>On 3/27/13 8:36 PM, "Murali Reddy" <> wrote:
>>On 28/03/13 9:00 AM, "Rajesh Battala" <> wrote:
>>>Jetty is failing to start on latest master building oss.
>>>Am on the latest master, building oss and starting jetty is failing with
>>>below error. 
>>>Error creating bean with name 'globalLoadBalancingRulesServiceImpl':
>>>Injection of autowired dependencies failed; nested exception is
>>>  k.beans.factory.BeanCreationException: Could not autowire field:
>>>protected org.apache.cloudstack.region.
>>>                       gslb.GslbServiceProvider
>>>bProv                                                          ider;
>>>nested exception is
>>>org.springframework.beans.factory.NoSuchBeanDefinitionException: No
>>>matching b                                                          ean
>>>of type [org.apache.cloudstack.region.gslb.GslbServiceProvider] found
>>>dependency: expected at le
>>>          ast 1 bean which qualifies as autowire candidate for this
>>>dependency. Dependency annotations: {
>>>                              ject.Inject()}
>>>        at 
>>>   PropertyValues(
>>>        at org.springframe
>>Please pull latest master, I pushed a fix.

View raw message