Have a question using drools 6 - I am following the example:
Repo looks fine, rules and artifact in:
.m2/repository/org/acme/brms/acmepoc/1.0
code seems straightforward:
// Install example1 in the local maven repo before to do this
KieContainer kContainer =
ks.newKieContainer(ks.newReleaseId("org.acme.brms", "acmepoc",
"1.0"));
but get:
Exception in thread "main" java.lang.RuntimeException: Cannot find
KieModule: org.acme.brms:acmepoc:1.0
at org.drools.compiler.kie.
builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:86)
at
com.sample.KieContainerFromKieRepoExample.go(KieContainerFromKieRepoExample.java:15)
at
com.sample.KieContainerFromKieRepoExample.main(KieContainerFromKieRepoExample.java:26)
Show replies by date