Re: xmlbeans-3.0.2 to xmlbeans-5.0.1

Dominik Stadler <[email protected]>
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <CABdJj56K1jXwhzU6xByAkDLBjZNggqqpoZwVKvb6y6Chzm+O1Q@mail.gmail.com>
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.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.