Mario Fusco created DROOLS-2606:
-----------------------------------
Summary: Drools 7 KieServices.Factory.get() returns null
Key: DROOLS-2606
URL:
https://issues.jboss.org/browse/DROOLS-2606
Project: Drools
Issue Type: Bug
Components: kie server
Affects Versions: 7.5.0.Final
Environment: JBoss Fuse 6.3.0.redhat-187
Drools version: 7.5.0.Final-redhat-4
Reporter: Tom Dalbo
Assignee: Mario Fusco
It seems that there might be a regression from Drools 6.x. This line in my code worked
fine:
{{KieServices ks = KieServices.Factory.get()}}
But now does not. The only thing I did was upgrade these dependencies in my pom.xml (as
well as updated my OSGi features to install the right bundles)
org.drools.drools-core
org.drools.drools-compiler
org.kie.kie-api
org.kie.soup.kie-soup-project-datamodel-api
org.kie.soup.kie-soup-commons
org.kie.soup.kie-soup-project-datamodel-commons
Lastly, there have been a few StackOverflows related to this, but none of the answers are
overwhelmingly positive:
https://stackoverflow.com/questions/49295671/kieservices-factory-get-retu...
https://stackoverflow.com/questions/47556233/drools-7-4-1-kieservices-fac...
https://groups.google.com/forum/#!topic/jbpm-usage/aD58UTCqu-c
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)