Have you guys encountered this error? Sounds like HSSFWorkbook has some logging contract from Log4J from Jakarta as well. Anyone who can help me pls!!! java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<clinit>(HSSFWorkbook.java:115) at com.qinteraction.Excel.AnotherExcel.main(AnotherExcel.java:24) Exception in thread "main" My coding is very simple: import java.io.*; import org.apache.poi.hssf.usermodel.HSSFWorkbook; public class FirstExcelTest { public static void main(String[] args) { HSSFWorkbook wb = new HSSFWorkbook(); FileOutputStream fileOut=null; try { fileOut = new FileOutputStream("c:\\workbook.xls"); wb.write(fileOut); fileOut.close(); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e1) { e1.printStackTrace(); } } }
_______________________________________________ Gossip mailing list [EMAIL PROTECTED] http://www.mail-archive.com/cgi-bin/mailman/listinfo/gossip