-2

I am getting the below error when I try to upgrade the POI/Drools/XMLBeans artifacts while fixing the vulnerabilities. I suspect there is some incompatibility in the jars that i am trying to upgrade to. Can someone please help ? Thanks in advance.

Error :

nested exception is java.lang.NoSuchMethodError: org/apache/poi/ss/usermodel/Cell.getCellType()I (loaded from file:/apps/vmp0/pdsdsjava/current/lib/poi-4.0.0.jar by java.net.URLClassLoader@dead1640) called from class org.drools.decisiontable.parser.xls.ExcelParser (loaded from file:/apps/vmp0/pdsdsjava/current/lib/drools-decisiontables-6.5.0.Final.jar by java.net.URLClassLoader@dead1640).

  • Given below is a sub-sect of jars that i use : xstream-1.4.19.jar, drools-templates-6.5.0.Final.jar, drools-reteoo-6.5.0.Final.jar, drools-decisiontables-6.5.0.Final.jar, drools-core-6.5.0.Final.jar, drools-compiler-6.5.0.Final.jar, xmlbeans-3.0.1.jar, poi-ooxml-schemas-4.0.0.jar, poi-ooxml-4.0.0.jar & poi-4.0.0.jar, protobuf-java-3.21.7.jar, knowledge-api-6.5.0.Final.jar, kie-internal-6.5.0.Final.jar, kie-api-6.5.0.Final.jar & antlr-runtime-3.5.jar – gobind balakrishnan Aug 03 '23 at 13:03
  • 1
    See if this helps : https://stackoverflow.com/a/62509500/5612858 – Arnaud Aug 03 '23 at 13:18
  • 1
    Urgency is not a concept in Stackoverflow. Please read https://meta.stackoverflow.com/a/326590/721855 and remove that sentence. – aled Aug 03 '23 at 13:59
  • 1
    Please share your pom.xml (or other manifest) including exactly all the jars you had before -- including version -- and the jars you're trying to upgrade to (also including versions). But given your error message you'll likely need to upgrade drools as well (note that you have to upgrade all of the drools dependencies, not just the decisiontables jar, to the same new version.) – Roddy of the Frozen Peas Aug 03 '23 at 14:08
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Aug 03 '23 at 14:56

0 Answers0