java - Drools project in JIdea -
i'm trying run first application in drools. have chosen create in intellij jidea ultimate. trying run @ least of basic examples. created project, copied there hello world example. java class , drool rules. have tried several different approaches include required libraries.
- i have plugin drools in jidea, downloads nescesary binaries me. downloaded version 6.2.0
- i have downloaded binaries , manually included them project. version 7.1.0
- i have tried maven include required binaries
in these 3 version, ran same problem. the ksession created newkiesession null. chain of commands create unchanged example.
// kieservices factory kie services kieservices ks = kieservices.factory.get(); // kie services, container created classpath kiecontainer kc = ks.getkieclasspathcontainer(); // container, session created based on // definition , configuration in meta-inf/kmodule.xml file kiesession ksession = kc.newkiesession("helloworldks");
i have included kmodule.xml in same folder (i have changed package name corespond structure changes have made). supose problem lies in that.
Comments
Post a Comment