jdon6.6.4 搭建示例环境出错

13-08-15 jasonHao
刚开始学习jdon 搭建示例出错 请大家看看
使用jdon版本 :6.64 ant 版本下的 CQRS+dci 这个示例

用debug跟踪到 cb.registerUserService(); 发现错误
是否需要配置container.xml文件


异常信息
13-8-15 12:11:53 [Debug:com.jdon.container.builder.DefaultContainerBuilder:Verbose] [JdonFramework] note: registe user pojoservice
13-8-15 12:11:53 [Debug:com.jdon.container.pico.PicoContainerWrapper:Warning] [JdonFramework]Not find the component in container :targetMetaDefLoader
13-8-15 12:11:53 [Debug:com.jdon.container.builder.DefaultContainerBuilder:Error] [JdonFramework] registerUserService error:java.lang.NullPointerException
13-8-15 12:12:17 [Debug:com.jdon.container.builder.ContainerDirector:Error] [JdonFramework] startup container error: java.lang.Exception: java.lang.NullPointerException
13-8-15 12:12:21 [Debug:Error] com.jdon.container.startup.ContainerSetupScript
13-8-15 12:12:21 [Debug:Error] Received throwable:
com.jdon.container.builder.StartupException
at com.jdon.container.builder.ContainerDirector.startup(ContainerDirector.java:82)
at com.jdon.container.startup.ContainerSetupScript.startup(ContainerSetupScript.java:103)
at com.jdon.container.finder.ContainerFinderImp.findContainer(ContainerFinderImp.java:55)
at com.jdon.controller.service.ServiceFacade.getServiceFactory(ServiceFacade.java:57)
at com.jdon.controller.WebAppUtil.getService(WebAppUtil.java:93)
at sample.CommandServlet.service(CommandServlet.java:28)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:123)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.__invoke(StandardHostValve.java:171)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)