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' 閱讀(3574) 評論(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
          主站蜘蛛池模板: 宣恩县| 余庆县| 汝城县| 道孚县| 绥化市| 丰原市| 东丽区| 白水县| 两当县| 鄂尔多斯市| 宜兰县| 邢台市| 枝江市| 勃利县| 江源县| 秦皇岛市| 栾城县| 靖远县| 二连浩特市| 铅山县| 鄂托克前旗| 临颍县| 泸溪县| 凤山市| 枝江市| 盖州市| 札达县| 抚松县| 新龙县| 津南区| 竹溪县| 碌曲县| 池州市| 汝城县| 容城县| 博客| 张掖市| 山阳县| 尼勒克县| 杭锦后旗| 凌海市|