You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the getting started guide for drools 8.44.0.FINAL, I created a project using maven archetype:
mvn archetype:generate -DarchetypeGroupId=org.kie -DarchetypeArtifactId=kie-drools-exec-model-ruleunit-archetype -DarchetypeVersion=8.44.0.Final
The first thing I tried was to run the tests, to get a feeling and got this error:
java.lang.UnsupportedOperationException: You're trying to dynamically define a class, please add the module org.drools:drools-wiring-dynamic to your classpath.
which references the line:
RuleUnitInstance instance = RuleUnitProvider.get().createRuleUnitInstance(measurementUnit);
How should I proceed?
The text was updated successfully, but these errors were encountered:
The rule project requires code generation that is triggered by mvn compile phase. If you directly run RuleTest.java in IDE, you may need to run mvn compile first.
Following the getting started guide for drools 8.44.0.FINAL, I created a project using maven archetype:
mvn archetype:generate -DarchetypeGroupId=org.kie -DarchetypeArtifactId=kie-drools-exec-model-ruleunit-archetype -DarchetypeVersion=8.44.0.Final
The first thing I tried was to run the tests, to get a feeling and got this error:
java.lang.UnsupportedOperationException: You're trying to dynamically define a class, please add the module org.drools:drools-wiring-dynamic to your classpath.
which references the line:
RuleUnitInstance instance = RuleUnitProvider.get().createRuleUnitInstance(measurementUnit);
How should I proceed?
The text was updated successfully, but these errors were encountered: