1. 程式人生 > 實用技巧 >version mismatch: activiti library version is '5.21.0.0', db version is null Hint: Set

version mismatch: activiti library version is '5.21.0.0', db version is null Hint: Set

>>> hot3.png

工作資料庫少匯入了一些資料

沒有ACT_GE_PROPERTY 的資料

INSERT INTO `act_ge_property` (`NAME_`, `VALUE_`, `REV_`) VALUES('next.dbid','2442501','978');
INSERT INTO `act_ge_property` (`NAME_`, `VALUE_`, `REV_`) VALUES('next.pre','170722','123');
INSERT INTO `act_ge_property` (`NAME_`, `VALUE_`, `REV_`) VALUES('next.tid','14','5209');

INSERT INTO `act_ge_property` (`NAME_`, `VALUE_`, `REV_`) VALUES('schema.history','create(5.21.0.0)','1');
INSERT INTO `act_ge_property` (`NAME_`, `VALUE_`, `REV_`) VALUES('schema.version','5.21.0.0','1');
INSERT INTO `act_ge_property` (`NAME_`, `VALUE_`, `REV_`) VALUES('sysAdmin.kf_2002_ISME9754_T2D_admin','kf_2002_ISME9754_T2D_admin','1');
INSERT INTO `act_ge_property` (`NAME_`, `VALUE_`, `REV_`) VALUES('sysAdmin.kf_8002_ISME9754_T2D_aaa','kf_8002_ISME9754_T2D_aaa','1');
INSERT INTO `act_ge_property` (`NAME_`, `VALUE_`, `REV_`) VALUES('sysAdmin.kf_8002_ISME9754_T2D_liusi','kf_8002_ISME9754_T2D_liusi','1');
INSERT INTO `act_ge_property` (`NAME_`, `VALUE_`, `REV_`) VALUES('sysAdmin.kf_8002_ISME9754_T2D_pang1','kf_8002_ISME9754_T2D_pang1','1');
INSERT INTO `act_ge_property` (`NAME_`, `VALUE_`, `REV_`) VALUES('sysAdmin.kf_8002_ISME9754_T2D_zangkun','kf_8002_ISME9754_T2D_zangkun','1')

111321_K80b_3209213.png

這個是由於資料庫內的版本跟實際的版本不匹配導致的(ACT_GE_PROPERTY表),我這是由於導資料的時候該表資料部分未匯入成功,導致一直報改錯誤,該表修改為:

後問題解決。記錄下,以便下次更好的解決。

轉載於:https://my.oschina.net/mdxlcj/blog/1480048