尝试将我的 excel 测试用例覆盖到 testing-xml 时出现以下错误
Got below error while trying to cover my excel test cases to 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 的版本。当前版本可能是旧版本,代码已弃用。
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 的版本。当前版本可能是旧版本,代码已弃用。