cannot access org.apache.poi.ooxml.POIXMLDocument with latest uber version 6.5.15
I am facing compilation error after upgrading uber jar version from 6.5.0 to 6.5.15.
Updated Uber jar
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.5.15</version>
<scope>provided</scope>
</dependency>
After updated uber I tried to compile the code but ended up with below error,
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] ImageRender.java:[326,42] cannot access org.apache.poi.ooxml.POIXMLDocument
class file for org.apache.poi.ooxml.POIXMLDocument not found
I thought the latest version removed this org.apache.poi.ooxml.POIXMLDocument so I manually added below dependency to resolve the issue
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.17</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>5.2.2</version>
</dependency>