Domino V10和POI

时间:2019-03-05 06:59:03

标签: apache-poi lotus-domino

我尝试在测试服务器上安装新的Domino V10,然后添加了POI插件。似乎一切正常,但是当尝试通过POI创建/导出excel文件时,此行不起作用。 poi是否可以与Domino V10一起使用?任何建议都会很棒。

**var wb = WorkbookFactory.create(inp);**

//POI CODE SAMPLE
var resourcePath = "/DemoExcel.xlsx";
var excelName = "DepoExcel_v1.xslx";
var bantfile = java.lang.System.getProperty("java.io.tmpdir");
var excelFilePath = bantfile+"\\"+ excelName;
var inp = facesContext.getExternalContext().getResourceAsStream(resourcePath);
var wb = WorkbookFactory.create(inp);
var sheet = wb.getSheetAt(0);
//Code continuous here...

更新2: 错误日志详细信息
CLFAD0141E: Error processing XPage request CLFAD0211E: Exception thrown
CLFAD0246E: Exception occurred servicing request for: /ays/poi.nsf/xspViewMainPage.xsp - HTTP Code: 500'

0 个答案:

没有答案