>On Fri, 22 Feb 2002 09:08:30 -0800 "An Feng-I Chen" <[EMAIL PROTECTED]>
wrote.
>Hi,
>
>I've tried to ask this question to several addresses but get no answer.
Hope
>this time is the right place to ask question regarding using POI.
>

If you have a question about POI you've come to the right place!
If you've sent it to me, sorry, I've gotten to where I only answer POI
questions that were sent to the list.  (Rude I know, but effective since
asking nicely hasn't worked yet)

>
>I need to find a solution to interface Excel files to my application. I've
>downloaded POI jars and tried to run the sample test driver "HSSF"
>but got NoSuchMethodError from HSSFLog, line 107: 
>net.sourceforge.poi.hssf.HSSFLog.<init>(HSSFLog.java:107) 
>Line 107 of HSSFLog is: log.getDefaultHierarchy().disableDebug(); 
>
>I'm using POI 1.0.2 and log4j 1.2beta3. From log4j documentation I know
>there is no such method "disableDebug" in LoggerRepository class. 
>

This has been fixed in the development sources (in CVS).  We'll be releasing
a 1.5 release *soon* that will contain log4j, etc etc.  We've moved to a
more standard build/distro, its just a matter of catching us at a bad time
(while moving to jakarta).  To answer your question POI 1.0.x uses log4j
1.1.3 (production release) and this is what is in CVS.  In general any POI
production release will use only production releases of log4j and other
librarys (where possible).

I'll leave the definitive answer to Glen, but I feel at the moment that the
development sources (in cvs) are more stable then the last production
release.  Not that it wasn't ready, but we've made some great improvements. 
Glen is now "module maintainer" of sorts for HSSF 2.0.  (if anyone wants to
know more about this ask)

>I have also tried log4j version 1.0.4 but got the same error. I have to
>manually modify HSSFLog.java to not to use that method to work around with
>it. I then got lots of log messages.
>
>My question is which version of log4j is used by HSSF 1.0.2 and where I can
>download that version. 
>

its in CVS..  log4j 1.1.3.  

>Thanks for any help.
>
>an
>
>
>
>

Reply via email to