KK

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

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

            BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
            74 Posts :: 1 Stories :: 70 Comments :: 0 Trackbacks

          使用Jbpm4.2 集成Spring 出現(xiàn)問題:
            
             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

            經(jīng)調(diào)試發(fā)現(xiàn),使用Spring后userCommandService 確實(shí)是null,
            配置中缺少什么東西?未知。 文檔中并無特殊說明,
           4.1沒有出現(xiàn)問題~ 
           應(yīng)該是4.2的Bug

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

          Feedback

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


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


          網(wǎng)站導(dǎo)航:
           
          jj
          主站蜘蛛池模板: 民县| 铜陵市| 西和县| 清镇市| 庆元县| 广德县| 达日县| 英吉沙县| 泽普县| 库伦旗| 英德市| 楚雄市| 丰原市| 金湖县| 永新县| 广丰县| 郑州市| 全州县| 沙雅县| 兰坪| 岳普湖县| 佳木斯市| 凌海市| 青海省| 色达县| 永仁县| 延津县| 嵊州市| 子洲县| 石城县| 米泉市| 永嘉县| 马尔康县| 仙游县| 南川市| 玉树县| 张家口市| 开封市| 当阳市| 筠连县| 金川县|