]
Mario Fusco resolved DROOLS-5535.
---------------------------------
Resolution: Rejected
If you want quarkus native images you have to move to Kogito and if you do so you will
also have to migrate to Kogito's API, there is no workaround.
Drools - KieServices.Factory.get() returns null
-----------------------------------------------
Key: DROOLS-5535
URL:
https://issues.redhat.com/browse/DROOLS-5535
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.36.0.Final
Reporter: Ashish Srivastava
Assignee: Mario Fusco
Priority: Major
I try to integrate a Drools project in a maven application. The Drools app is running
perfectly on his own, but when I try to integrate it in the *quarkus project*, I get a
java.lang.NullPointerException.
After some researches, it seems to happen because KieServices.Factory.get() return me
null because of kie.conf.
Drools Site Quote is: Many modules of Drools (e.g. drools-core, drools-compiler) have a
file named {{kie.conf}} containing the names of the classes implementing the services
provided by the corresponding module. When running Drools in a fat JAR, for example
created by the Maven Shade Plugin, those various {{kie.conf}} files need to be merged,
otherwise , the fat JAR will contain only 1 kie.conf from a single dependency, resulting
into errors. You can merge resources in the Maven Shade Plugin using transformers, like
this:
([
https://docs.jboss.org/drools/release/7.14.0.Final/drools-docs/html_singl...])
how can we configure the same for Quarkus Project ? or is there any way to load these
file externally ..