-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
7.11.0.GA
-
None
-
False
-
False
-
Undefined
-
-
-
-
2021 Week 28-30 (from Jul 12)
When using "drools-model-compiler" to build a rule which uses "drools" built-in variable and tries to convert it into KnowledgeHelper class, following error will be reported in compilation :
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile-1) on project precompile-demo: Compilation failure
[ERROR] /path/to/precompile-demo/target/generated-sources/drools-model-compiler/main/java/com/ex/demo/PF0/LambdaConsequenceF05F900892C9C0080DD3CE63F75D4E84.java:[21,35] incompatible types: org.drools.model.Drools cannot be converted to org.drools.core.spi.KnowledgeHelper
- is documented by
-
DROOLS-6490 Fix drools docs to avoid mentioning the KnowledgeHelper and replace it with the RuleContext
- Resolved