Problem with native build

12 views
Skip to first unread message

Natham Coracini

unread,
Aug 19, 2025, 12:44:47 PMAug 19
to Kogito development mailing list
Hello,
I am having this issue when executing mvn clean package -Dnative:

Error: Cannot instantiate com.github.javaparser.ast.expr.PatternExpr. This error is reported at image build time because class org.drools.mvel.parser.GeneratedMvelParser is registered for linking at image build time by command line and command line. Error encountered while parsing org.drools.mvel.parser.GeneratedMvelParser.InstanceOfExpression(GeneratedMvelParser.java:3868)

I am using rule units in .xlsx decision tables and that seems to be the issue, because when I use a regular DMN project it works fine. Maybe javaparser extension pro Mvel Parser is not compatible with native building? I am not aware of using MVEL anywhere also.

Thank you,
Natham
Reply all
Reply to author
Forward
0 new messages