Build of executable-model with Map literal expression in constraint causes ParseProblemException

Solution Verified - Updated -


When MAP literal expression is used in LHS like the following

    $fact: Fact(
      calc(["src":name, "target":"TEST"])

KieBase build as Executable Model (e.g. mvn clean install -DgenerateModel=YES) fails with parser error like:

Encountered unexpected token: "[" "["
    at line 1, column 6.

Was expecting one of:


This error does not happen when building this rule as normal kjar (i.e. mvn clean install).


  • Red Hat Decision Manager
    • 7.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In