You cannot update XmlBeans alone, Apache POI requires a specific version of
XmlBeans, POI 5.0.0 requires XmlBeans 4.0.0, the next version of POI 5.x
will use the latest version of XmlBeans again.

Dominik

On Tue, 24 Aug 2021, 12:52 Rambabu, <[email protected]> wrote:

> Hi Team,
> I upgraded from xmlbeans-3.0.2 to xmlbeans-5.0.1 version after
> upgradign getting below error while creating  new SXSSFWorkbook(100)
> // org.apache.poi.xssf.streaming.SXSSFWorkbook
> 1) java.lang.NoSuchMethodError:
> org.apache.xmlbeans.XmlOptions.put(Ljava/lang/Object;)V
> 2) java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.poi.xssf.model.SharedStringsTable
>
> Is there any dependency between xmlbeans and poi versio?
>
> Note: we are using poi-4.1.1,
>
> --
> Thanks,
> Rambabu,
> 0810 676 1234.
>

Reply via email to