小编id5*_*500的帖子

Apache POI 发生了非法的反射访问操作

我正在使用 Apache POI 来处理 excel 文件,从 Java 9 开始,我收到了这条消息,根据这篇文章JDK9:发生了非法反射访问操作。org.python.core.PySystemState我们应该等待开发人员解决问题,但我应该在我的新生产版本中保留它吗?如果我跳过警告,我认为这应该不是问题。

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.poi.util.DocumentHelper (file:/T:/Workspace/Java/Sections%20Manager/libs/poi/poi-ooxml-3.17.jar) to method com.sun.org.apache.xerces.internal.util.SecurityManager.setEntityExpansionLimit(int)
WARNING: Please consider reporting this to the maintainers of org.apache.poi.util.DocumentHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Run Code Online (Sandbox Code Playgroud)

java apache-poi java-9

8
推荐指数
2
解决办法
8553
查看次数

标签 统计

apache-poi ×1

java ×1

java-9 ×1