We are using drools and decision-table(6.2.0.Final) with java 8 since long time and it is working fine. Now we have updated java version to 18 and with older version of drools(6.2.0.Final) we are getting error Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module
Then we updated drools to latest final version(7.73.0.Final) and then we start are getting new error. There already exists an implementation for service org.kie.api.io.KieResources with same priority 0
Then we tried with 8.26.0.Beta version of drools, with this we are able to create KieSession but we we fire our rule we are setting global (kSession.setGlobal) and there are we getting "java.lang.RuntimeException: Unexpected global" We double checked in excel file we have declared variables for updating globals.
So basically I have tried various version of drools with java 18 but unable to find compatible version.