Tell you what.. We're planning a new Dev build shortly that will hopefully eliminate all these irritating issues with log4j... use it. Alternatively, if you can't wait a couple days, grab the latest sources from CVS and build. (use jar target)
-Andy.. PS don't put two versions of POI in your classpath. On Sat, 2002-04-20 at 10:43, Michele Ezza wrote: > I've been an HSSF user for a little while. > I have this problem, perhaps a stupid beginning problem. > I have unloaded the "jakarta-poi-1.4583-dev-bin.zip" file from >http://jakarta.apache.org site > Unzipping this file I have used the file jakarta-poi-1.1-dev.jar in the classpath of >my development tool (ORACLEJDev9i) relating to a new project. > The used application is that shown in the examples directory of >HSSF/jakarta.apache.org site and is repoted below: > > //********************************************************** > package org.apache.poi.hssf.usermodel.examples; > > import org.apache.poi.hssf.usermodel.HSSFWorkbook; > import java.io.FileOutputStream; > import java.io.IOException; > > /** > * This example creates a new blank workbook. This workbook will contain a single >blank sheet. > * > * @author Glen Stampoultzis (glens at apache.org) > */ > public class NewWorkbook > { > public static void main(String[] args) > throws IOException > { > HSSFWorkbook wb = new HSSFWorkbook(); > String path="C:/JavaAppl/KmsWorkspace/ProjectWorkBook/classes/workbook.xls"; > FileOutputStream fileOut = new FileOutputStream("workbook.xls"); > wb.write(fileOut); > fileOut.close(); > } > } > //********************************************************** > During the compilation I have no problems, but when I execute I receive this problem: > > Exception in thread main > java.lang.NoClassDefFoundError: org.apache.poi.hssf.HSSFLog void >org.apache.poi.hssf.usermodel.HSSFWorkbook.<clinit>() void >org.apache.poi.hssf.usermodel.examples.NewWorkbook.main(java.lang.String[]) Process >exited with exit code 1. > > What could be the problem? > > Thanks to all > > > > Ing. Michele Ezza > > E-mail: [EMAIL PROTECTED] > tel. 080-5016227 > > AMT Services > Via Cancello Rotto, 3/C > 70125 - Bari > www.amtservices.it > -- http://www.superlinksoftware.com http://jakarta.apache.org/poi - port of Excel/Word/OLE 2 Compound Document format to java http://developer.java.sun.com/developer/bugParade/bugs/4487555.html - fix java generics! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh
