You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.NoSuchFieldError: Class org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorkbook does not have member field 'org.apache.xmlbeans.impl.schema.DocumentFactory Factory'
友情提示:
未按格式要求发帖、描述过于简单的,会被直接删掉;
描述问题请图文并茂,方便我们理解并快速定位问题;
如果使用的不是master,请说明你使用的分支;
The text was updated successfully, but these errors were encountered:
版本号:
springboot3 当前最新版本: 3.7.1(发布日期:2024-09-12)
问题描述:
我自己建立的模块里,屏蔽了autopoi,换成了easyexcel,这个是没问题的.
现在又出了一个fastexcel,我把easyexcel换成fastexcel,一直报错.
后来发现autopoi里poi的版本是4,fastexcel的版本是5
CTWorkbook类同时存在在5.4.0,4.1.2,1.4里.
CTWorkbook类里的Factory方法在5.4.0里面有,4.1.2和1.4里面没有.
导致fastexcel里每次调用CTWorkbook类的时候会调用4.1.2或1.4里的CTWorkbook类里的Factory,就会提示没有这个方法.
库中会同时存在以下3个库.
Maven: org.apache.poi:poi-ooxml:5.4.0 (fastexcel里的)
Maven: org.apache.poi:poi-ooxml-schemas:4.1.2(aotupoi里的)
Maven: org.apache.poi:ooxml-schemas:1.4(aotupoi里的)
我的诉求是能不能把autopoi的poi也升级到最新5.几版本.
错误截图:
Caused by: java.lang.NoSuchFieldError: Class org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorkbook does not have member field 'org.apache.xmlbeans.impl.schema.DocumentFactory Factory'
友情提示:
The text was updated successfully, but these errors were encountered: