Skip to content

executable-model kjar build fails with bpmn #6269

Open
@tkobayas

Description

@tkobayas

executable-model kjar build fails with bpmn:

example)
https://github.com/tkobayas/kiegroup-examples/tree/master/Ex-ruleflow-10.0.0-issue

[INFO] --- kie:10.0.0:build (default-build) @ ruleflow-example ---
[INFO] GenerateModel
[INFO] Artifact not fetched from maven: org.kie.kogito:jbpm-bpmn2:10.0.0. To enable the KieScanner you need kie-ci on the classpath
[INFO] Artifact not fetched from maven: org.drools:drools-model-compiler:10.0.0. To enable the KieScanner you need kie-ci on the classpath
[INFO] Artifact not fetched from maven: org.drools:drools-xml-support:10.0.0. To enable the KieScanner you need kie-ci on the classpath
[ERROR] Unable to build KieBaseModel:defaultKieBase
InvalidExpressionErrorResult: Unable to find class: Message

workaround: use FQCN

package com.sample
 
import com.sample.DroolsTest.Message;
 
rule R1
	ruleflow-group "group1"
    when
        m : com.sample.DroolsTest.Message( )
    then
        System.out.println( "R1 : m = " + m );
        m.setCount(m.getCount() + 1);
        update( m );
end

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status

    📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions