日期:2014-05-16 浏览次数:20310 次
java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFCell.setCellValue(Lorg/apache/poi/hssf/usermodel/HSSFRichTextString;)V at org.primefaces.component.export.ExcelExporter.addColumnValue(ExcelExporter.java:88) ~[primefaces-2.2.RC2.jar:na] at org.primefaces.component.export.ExcelExporter.addColumnHeaders(ExcelExporter.java:80) ~[primefaces-2.2.RC2.jar:na] at org.primefaces.component.export.ExcelExporter.export(ExcelExporter.java:46) ~[primefaces-2.2.RC2.jar:na] at org.primefaces.component.export.DataExporter.processAction(DataExporter.java:93) ~[primefaces-2.2.RC2.jar:na]
cell.setCellValue(new HSSFRichTextString(value));
System.out.println("Value is :"+value); HSSFRichTextString hssfRichTextString = new HSSFRichTextString(value); cell.setCellValue(hssfRichTextString);