Re: [I] Test not working in maven archetype [incubator-kie-drools]
tkobayas commented on issue #6214: URL: https://github.com/apache/incubator-kie-drools/issues/6214#issuecomment-2667402836 Assuming that > 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. solves the error, I'm closing this issue. Please re-open this issue if you still face the error. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For additional commands, e-mail: commits-h...@kie.apache.org
Re: [I] Test not working in maven archetype [incubator-kie-drools]
tkobayas closed issue #6214: Test not working in maven archetype URL: https://github.com/apache/incubator-kie-drools/issues/6214 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For additional commands, e-mail: commits-h...@kie.apache.org
Re: [I] Test not working in maven archetype [incubator-kie-drools]
tkobayas commented on issue #6214: URL: https://github.com/apache/incubator-kie-drools/issues/6214#issuecomment-2597787513 Firstly, please use zulip (https://kie.zulipchat.com/#narrow/stream/232677-drools) or google group (https://groups.google.com/g/drools-usage/) for trouble-shooting. GH issue is used to track identified bugs. 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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For additional commands, e-mail: commits-h...@kie.apache.org
[I] Test not working in maven archetype [incubator-kie-drools]
malet-pr opened a new issue, #6214: URL: https://github.com/apache/incubator-kie-drools/issues/6214 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? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For additional commands, e-mail: commits-h...@kie.apache.org