easyexcel
easyexcel copied to clipboard
2.13最新版本日期转换异常的getRowIndex()和getColumnIndex()方法废弃了吗?
异常代码
`/**
* 在转换异常 获取其他异常下会调用本接口。抛出异常则停止读取。如果这里不抛出异常则 继续读取下一行。
*
* @param exception
* @param context
* @throws Exception
*/
@Override
public void onException(Exception exception, AnalysisContext context) {
ReadHolder currentReadHolder = context.currentReadHolder();
if (exception instanceof ExcelDataConvertException) {
ExcelDataConvertException excelDataConvertException = (ExcelDataConvertException)exception;
LOGGER.error("第{}行,第{}列解析异常", excelDataConvertException.getRowIndex(),
excelDataConvertException.getColumnIndex());
}
}`
`
异常提示 请提供完整的异常提示,记住是全部异常! 2.13最新版本日期转换异常的getRowIndex()和getColumnIndex()方法废弃了吗? API上有这两个方法,但实际使用这两个方法会编译错误
试了下,接口是好的
编译错误一般不会这样,如果只是idea报错的话可能是idea缓存问题,
试试File-invalidate caches/restart

请升级到 2.1.3