尝试将Excel测试用例覆盖到testing-xml时出现以下错误

时间:2018-12-24 12:28:32

标签: apache-poi testng appium automator

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)

1 个答案:

答案 0 :(得分:2)

好像您需要更新fillo的版本。当前版本可能是较旧的版本,且已弃用代码。