班级联系失败,阿帕奇

时间:2015-05-21 10:26:01

标签: java android eclipse apache apache-poi

我一直在谷歌搜索这个问题几个小时,但我仍然无法找到解决方案。

这是日志错误

http://i62.tinypic.com/w1s7z4.png(无法直接上传图片)

这是代码

public void getBaris() throws IOException
{
    InputStream fis = null;
    try {
        fis = new FileInputStream(new File(fileUri));
        Toast.makeText(getBaseContext(), "FILE FOUND", Toast.LENGTH_SHORT).show();
    } catch (FileNotFoundException e) {
        Toast.makeText(getBaseContext(), "FILE NOT FOUND", Toast.LENGTH_SHORT).show();
    }
    XSSFWorkbook workbook = new XSSFWorkbook (fis);

    workbook.close(); // just to make sure the workbook work, but it doesn't
}

谢谢..

注意:我已经添加了poi-ooxml-3.12-20150511.jar来在我的项目文件中添加archieve jar并仍然出现此错误

0 个答案:

没有答案