Hi, I am new to the CloudStack development and trying to get the management server up for testing.
I am following instruction from wiki page: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows I got the latest code from git. I build, setup db and trying to jetty server on Windows Server 2008. But jetty server is not coming up. I am getting following error: [ERROR] Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@7160a9b9{/client,C:\cygwin\home\rsabharw\cloudstack-oss\cloudstack\client\target\generated-webapp} org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.cloud.storage.dao.VMTemplateDao com.cloud.user.AccountManagerImpl._templateDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'VMTemplateDaoImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.apache.cloudstack.storage.datastore.db.TemplateDataStoreDao com.cloud.storage.dao.VMTemplateDaoImpl._templateDataStoreDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'templateDataStoreDaoImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.apache.cloudstack.engine.subsystem.api.storage.DataStoreManager org.apache.cloudstack.storage.image.db.TemplateDataStoreDaoImpl._storeMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataStoreProviderManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.apache.cloudstack.storage.datastore.PrimaryDataStoreProviderManager org.apache.cloudstack.storage.datastore.provider.DataStoreProviderManagerImpl.primaryDataStoreProviderMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataStoreProviderMgr': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.storage.StorageManager org.apache.cloudstack.storage.datastore.manager.PrimaryDataStoreProviderManagerImpl.storageMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storageManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.cloud.agent.AgentManager com.cloud.storage.StorageManagerImpl._agentMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusteredAgentManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.cloud.ha.HighAvailabilityManager com.cloud.agent.manager.AgentManagerImpl._haMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'highAvailabilityManagerExtImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.alert.AlertManager com.cloud.ha.HighAvailabilityManagerImpl._alertMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.cloud.capacity.CapacityManager com.cloud.alert.AlertManagerImpl._capacityMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'capacityManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.resource.ResourceManager com.cloud.capacity.CapacityManagerImpl._resourceMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.cloud.vm.VirtualMachineManager com.cloud.resource.ResourceManagerImpl._vmMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusteredVirtualMachineManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.apache.cloudstack.engine.orchestration.service.NetworkOrchestrationService com.cloud.vm.VirtualMachineManagerImpl._networkMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'networkOrchestrator': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.configuration.ConfigurationManager org.apache.cloudstack.engine.orchestration.NetworkOrchestrator._configMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.network.NetworkService com.cloud.configuration.ConfigurationManagerImpl._networkSvc; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'networkServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.network.rules.RulesManager com.cloud.network.NetworkServiceImpl._rulesMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rulesManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.network.IpAddressManager com.cloud.network.rules.RulesManagerImpl._ipAddrMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ipAddressManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.network.lb.LoadBalancingRulesManager com.cloud.network.IpAddressManagerImpl._lbMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadBalancingRulesManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.network.NetworkModel com.cloud.network.lb.LoadBalancingRulesManagerImpl._networkModel; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'networkModelImpl' defined in URL [jar:file:/C:/Users/rsabharw/.m2/repository/org/apache/cloudstack/cloud-server/4.5.0-SNAPSHOT/cloud-server-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/core/spring-server-core-managers-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'networkElementsRegistry' defined in URL [jar:file:/C:/Users/rsabharw/.m2/repository/org/apache/cloudstack/cloud-core/4.5.0-SNAPSHOT/cloud-core-4.5.0-SNAPSHOT.jar!/META-INF/cloudstack/core/spring-core-registry-core-context.xml]: Cannot resolve reference to bean 'VpcVirtualRouter' while setting bean property 'preRegistered' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'VpcVirtualRouter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.network.router.VpcVirtualNetworkApplianceManager com.cloud.network.element.VirtualRouterElement._routerMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vpcVirtualNetworkApplianceManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.network.vpc.NetworkACLManager com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl._networkACLMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'networkACLManagerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.network.vpc.NetworkACLItemDao com.cloud.network.vpc.NetworkACLManagerImpl._networkACLItemDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'networkACLItemDaoImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.cloud.network.vpc.NetworkACLItemCidrsDao com.cloud.network.vpc.dao.NetworkACLItemDaoImpl._networkACLItemCidrsDao; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.cloud.network.vpc.NetworkACLItemCidrsDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1116) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:145) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet$2.with(DefaultModuleDefinitionSet.java:122) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:245) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:233) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContexts(DefaultModuleDefinitionSet.java:117) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.load(DefaultModuleDefinitionSet.java:79) at org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loadModules(ModuleBasedContextFactory.java:37) at org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:70) at org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:57) at org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:61) at org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499) at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132) at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454) at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396) at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210) at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Please provide help to get the server up. Thanks & Regards, Ritu S.