activiti部署,发布流程之后,没有往流程定义表中插入数据
/**部署流程定义*/
@Override
public void saveNewDeploye(File file, String filename) {
try {
//2:将File类型的文件转化成ZipInputStream流
ZipInputStream zipInputStream = new ZipInputStream(new FileInputStream(file));
repositoryService.createDeployment()//创建部署对象
.name(filename)//添加部署名称
.addZipInputStream(zipInputStream)//
.deploy();//完成部署
} catch (Exception e) {
e.printStackTrace();
}
}
这个方法执行完成了,没有抛出异常
select * from act_re_deployment; #部署对象
select * from act_ge_bytearray; #资源文件表
这两个表都成功记录了数据
唯独最重要的流程定义表act_re_procdef没有数据
有没有大神遇到过类似情况