apache-poi - 尝试将我的 excel 测试用例覆盖到 testing-xml 时出现以下错误
问题描述
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.poi.ss.usermodel.Cell.getCellType()I
at com.codoid.products.fillo.CommonExcelUtil.getColumnNames(CommonExcelUtil.java:86)
at com.codoid.products.fillo.SelectExcelUtil.runSelectQuery(SelectExcelUtil.java:84)
at com.codoid.products.fillo.Select.getRecordset(Select.java:61)
at com.codoid.products.fillo.Connection.executeQuery(Connection.java:64)
at com.neo.suiteCreater.XLSReader.getTests(XLSReader.java:25)
at com.neo.suiteCreater.createSuite.main(createSuite.java:7)
解决方案
看起来您需要更新 fillo 的版本。当前版本可能是旧版本的代码已弃用。
推荐阅读
- node.js - Socket.io ID 和用户信息安全
- jquery - 显示来自 json 的图像和标题,但消息说无法读取未定义的属性“图像”
- javascript - 使用某些过滤器检索 n 个随机文档 MongoDB
- r - 如何编号唯一对 X,Y
- c# - 在 Xamarin C# Visual Studio 中创建 TableView
- javascript - 如何使用javascript集成字符串中字符的计数频率
- c# - 始终使用最新版本的 Newtonsoft.Json
- c# - 无法首先在列实体框架代码上定义 PRIMARY KEY 约束
- emacs - 使用估计在 emacs org-mode 中自动安排待办事项
- r - Safari 浏览器上的 Shinyapps.io 无法连接到服务器“localhost”