KK

          Kim-'s-Blog.Object-Everything.I'm POJO.

          .紀-錄.爲了忘卻的記憶..真的勇士,要敢于直面遇到的問題,敢于正視繁雜的原碼......在實踐中積累!

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            74 Posts :: 1 Stories :: 70 Comments :: 0 Trackbacks

          使用Jbpm4.2 集成Spring 出現問題:
            
             2009-11-12 15:49:51,640 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
          org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in file [......\WEB-INF\classes\spring\applicationContext-jbpm.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.ProcessEngine org.jbpm.pvm.internal.cfg.SpringConfiguration.buildProcessEngine()] threw exception; nested exception is java.lang.NullPointerException

            Caused by: java.lang.NullPointerException
           at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:177)

           userCommandService 為null

            經調試發現,使用Spring后userCommandService 確實是null,
            配置中缺少什么東西?未知。 文檔中并無特殊說明,
           4.1沒有出現問題~ 
           應該是4.2的Bug

          posted on 2009-11-13 14:45 Kim' 閱讀(3569) 評論(1)  編輯  收藏

          Feedback

          # re: Jbpm 4.2 集成Spring問題 Error creating bean with name 'processEngine' 2009-11-13 16:35 臨遠
          jBPM-4.2集成Spring的方法,請參考這里:
          http://www.family168.com/jbpm4/spring-jbpm42.html  回復  更多評論
            


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          jj
          主站蜘蛛池模板: 乐安县| 遵化市| 扶余县| 清原| 兴宁市| 杂多县| 安吉县| 汪清县| 龙泉市| 阳山县| 隆昌县| 金门县| 呼玛县| 庆安县| 大港区| 涪陵区| 双流县| 讷河市| 固原市| 商河县| 丁青县| 蕉岭县| 嘉义县| 平度市| 琼结县| 朝阳市| 甘洛县| 昂仁县| 彭阳县| 敖汉旗| 滁州市| 田林县| 东方市| 泾阳县| 城固县| 麻江县| 南宁市| 永兴县| 嘉善县| 崇明县| 南郑县|