2017年2月17日金曜日

[ERROR] Unable to build KieBaseModel:kbase, Process Compilation error : Process org.jbpm

問題点:

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Test1 1.2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- kie-maven-plugin:6.5.0.Final:build (default-cli) @ Test1 ---
[INFO] Adding KieModule from resource: FileResource[file=C:\Users\ku_000\git\jbpm-playground\Test1\src\main\resources]
[INFO] KieModule was added: FileKieModule[releaseId=kenjiuno.test1:Test1:1.2,file=C:\Users\ku_000\git\jbpm-playground\Test1\src\main\resources]
[ERROR] Unable to build KieBaseModel:kbase
Process Compilation error : Process org.jbpm.交通費の申請(Test1.Kotsu)
        org/jbpm/Process_org$u46$jbpm$u46$交通費の申請1538250979.java (9:387) : Syntax error, insert "AssignmentOperator Expression" to complete Expression
        org/jbpm/Process_org$u46$jbpm$u46$交通費の申請1538250979.java (9:387) : Syntax error, insert ";" to complete Statement
        org/jbpm/Process_org$u46$jbpm$u46$交通費の申請1538250979.java (9:387) : The left-hand side of an assignment must be a variable
        org/jbpm/Process_org$u46$jbpm$u46$交通費の申請1538250979.java (15:587) : Syntax error, insert "AssignmentOperator Expression" to complete Expression
        org/jbpm/Process_org$u46$jbpm$u46$交通費の申請1538250979.java (15:587) : Syntax error, insert ";" to complete Statement
        org/jbpm/Process_org$u46$jbpm$u46$交通費の申請1538250979.java (15:587) : The left-hand side of an assignment must be a variable

対策:

  • mvn -Ddrools.dump.dir=C:\Folder kie:build

参考

Process_org$u46$jbpm$u46$交通費の申請1538250979.java

package org.jbpm;
import org.jbpm.*;
import org.drools.core.util.KieFunctions;
public class Process_org$u46$jbpm$u46$交通費の申請1538250979 {
    private static final long serialVersionUID = 510l;

public static Object returnValueEvaluator0(org.kie.api.runtime.process.ProcessContext kcontext    ) throws Exception {
    org.kie.api.runtime.process.ProcessContext context = kcontext;
    true
}


public static Object returnValueEvaluator1(org.kie.api.runtime.process.ProcessContext kcontext    ) throws Exception {
    org.kie.api.runtime.process.ProcessContext context = kcontext;
    false
}

}

0 件のコメント:

コメントを投稿