(Apologies if this was sent twice, I am having trouble responding to the message)...
I sense a build problem, Let me explain: Bean definitions cross reference .class files, e.g. Administrator@cc-svr10 ~/github/cifs $ grep -R iciraNvpDaoImpl * --include=*.xml.in cloudstack/client/tomcatconf/componentContext.xml.in: <bean id="niciraNvpDaoImpl" class="com.cloud.network.dao.NiciraNvpDaoImpl" /> cloudstack/client/tomcatconf/nonossComponentContext.xml.in: <bean id="niciraNvpDaoImpl" class="com.cloud.network.dao.NiciraNvpDaoImpl" /> Notice I’m using .xml.in above. The build copies these files and changes their extension to .xml Next, check that the bean’s class has been deployed to the folder that Jetty will use, e.g. Administrator@cc-svr10 ~/github/cifs $ grep -R "iciraNvpDaoImpl\.class" * Binary file cloudstack/client/target/cloud-client-ui-4.3.0-SNAPSHOT/WEB-INF/lib/cloud-plugin-network-nvp-4.3.0-SNAPSHOT.jar matches Binary file cloudstack/client/target/cloud-client-ui-4.3.0-SNAPSHOT.war matches Binary file cloudstack/plugins/network-elements/nicira-nvp/target/cloud-plugin-network-nvp-4.3.0-SNAPSHOT.jar matches If you don’t see any matches, then the command you used to build may be for an older version of CloudStack. ☹ This happens whenever we improve the build, because build updates are not backwards compatible. If you are using the Windows Development instructions https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows , take a look at the update just I made to “Step 13) Build”. If you have similar problems in the future, take a look at the most up to date build instructions, which are at https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack DL > -----Original Message----- > From: 黑洞 [mailto:heids...@sina.com] > Sent: 13 September 2013 06:48 > To: dev > Subject: what wrong? start cloudstack > > when I execut "mvn -pl :cloud-client-ui jetty:run" > hava follow exception: > > > ERROR [web.context.ContextLoader] (main:) Context initialization failed > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'niciraNvpDaoImpl' defined in class path resource > [componentContext.xml]: BeanPostProcessor before instantiation of bean > failed; nested exception is net.sf.cglib.core.CodeGenerationException: > java.lang.reflect.InvocationTargetException-->null > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanF > actory.createBean(AbstractAutowireCapableBeanFactory.java:452) > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObje > ct(AbstractBeanFactory.java:294) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.g > etSingleton(DefaultSingletonBeanRegistry.java:225) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBea > n(AbstractBeanFactory.java:291) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(A > bstractBeanFactory.java:193) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.preI > nstantiateSingletons(DefaultListableBeanFactory.java:609) > at > org.springframework.context.support.AbstractApplicationContext.finishBea > nFactoryInitialization(AbstractApplicationContext.java:918) > at > org.springframework.context.support.AbstractApplicationContext.refresh(A > bstractApplicationContext.java:469) > at > org.springframework.web.context.ContextLoader.configureAndRefreshWeb > ApplicationContext(ContextLoader.java:383) > at > org.springframework.web.context.ContextLoader.initWebApplicationContex > t(ContextLoader.java:283) > at > org.springframework.web.context.ContextLoaderListener.contextInitialized( > ContextLoaderListener.java:111) > at > org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.jav > a:549) > > > > > what Wrong? > > > Thanks > > > > > > > > > > > > > > > > 云计算基础架构师 > Github:https://github.com/heidsoftWeibo: http://weibo.com/liuganbin > 研究方向:云计算(云安全)、大数据(数据处理分析) > 主要学习: Linux / C / C++ / JAVA > Email:heids...@sina.com > Tell:18601706743 > > > > > > > > > > > > 某云计算公司 > > > > > > Jake.liu@heidsoft黑洞 > > > > > 云计算系统架构师 > > > > > > > > > 840608792 > > > > > > heidso...@gmail.com > > > > > > weibo.com/liuganbin > > > > > > 上海 徐汇区 > > > > > > > > > > > > > 名片二维码 > > > > > > > > > > > > > ----- 原始邮件 ----- > 发件人:Mike Tutkowski <mike.tutkow...@solidfire.com> > 收件人:"dev@cloudstack.apache.org" <dev@cloudstack.apache.org> > 抄送人:Amit Das <amit....@cloudbyte.com> > 主题:Re: Which DevCloud2 Usage Mode is good for Development and > Debugging ???? > 日期:2013年09月13日 07点33分 >