本帖最后由 senlinmuvs 于 2011-07-31 14:39:22 编辑

解决方案 »

  1.   

    部属测试代码:public void test1() throws FileNotFoundException {
    ProcessEngine pe = Configuration.getProcessEngine();

    RepositoryService repositoryService = pe.getRepositoryService(); File f = new File("F:\\leave.zip");
    FileInputStream stream = new FileInputStream(f);
     
    ZipInputStream zis = new ZipInputStream(stream);

    repositoryService.createDeployment().addResourcesFromZipInputStream(zis).deploy();
    }
      

  2.   

    http://www.family168.com/jbpm4/video.html
    jbpm4的视频教程