首页 > 解决方案 > 尝试将我的 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)

标签: apache-poitestngappiumautomator

解决方案


看起来您需要更新 fillo 的版本。当前版本可能是旧版本的代码已弃用。


推荐阅读