jdon6.6.4 搭建示例環境出錯
剛開始學習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)
使用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)
相關文章
- MAC環境下PHP開發除錯環境搭建MacPHP除錯
- vs搭建遠端除錯環境除錯
- windbg 搭建雙擊除錯環境除錯
- 【MyBatis】3:MyBatis環境搭建及入門程式示例MyBatis
- risc-v環境搭建及除錯除錯
- step 1 :搭建開發除錯環境除錯
- Flutter開發環境搭建和除錯Flutter開發環境除錯
- 環境搭建
- RocketMQ系列-搭建Namesrv原始碼除錯環境MQ原始碼除錯
- 微信開發的本地除錯環境搭建除錯
- windows環境下Django環境搭建WindowsDjango
- Mac搭建appium環境及python執行程式碼示例MacAPPPython行程
- react環境搭建React
- LNMP 環境搭建LNMP
- 搭建Java環境Java
- Vagrant 環境搭建
- Flutter環境搭建Flutter
- swoft 環境搭建
- OpenGL 環境搭建
- 搭建gym環境
- 搭建lnmp環境LNMP
- Angular環境搭建Angular
- JDK環境搭建JDK
- keil環境搭建
- Dubbo環境搭建
- mac搭建環境Mac
- FNA 環境搭建
- FNA環境搭建
- Maven 環境搭建Maven
- spark環境搭建Spark
- Hive環境搭建Hive
- centosLAMP環境搭建CentOSSLAMLAMP
- lnmp環境搭建LNMP
- ZooKeeper環境搭建
- lnamp環境搭建
- java 環境 搭建Java
- MAVEN環境搭建Maven
- gogs環境搭建Go