[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-user
Subject:    AW: Version 1.4583 & Log4j
From:       "Reto Badertscher" <rb () i-netsystems ! com>
Date:       2002-03-12 16:51:32
[Download RAW message or body]

Thanks for your help - i'll try it.

Reto

-----Ursprüngliche Nachricht-----
Von: Hoffman, Jason [mailto:Jason.Hoffman@FMR.COM]
Gesendet: Dienstag, 12. März 2002 17:26
An: 'poi-user@jakarta.apache.org'
Betreff: RE: Version 1.4583 & Log4j


I had this exact problem, and had to download log4j 1.2beta4.   FOR ME, the
problems did not completely go away, until I REBUILT the POI distribution
with log4j 1.2beta4.  The version in CVS when 1.4583 was built ( someone
correct me if wrong ) I believe is log4j 1.2alpha7.  The differences between
1.2beta4 and 1.2alpha7 made the difference.  Unfortunately, just changing
the log4j jar at runtime wasn't enough for me.

That's the dangers with building with alpha/beta stuff.

Good news is, the problems went away after I rebuilt with 1.2beta4!

-----Original Message-----
From: Reto Badertscher [mailto:rb@i-netsystems.com]
Sent: Tuesday, March 12, 2002 10:20 AM
To: poi-user@jakarta.apache.org
Subject: Version 1.4583 & Log4j


Hello,

i'm trying to use the 1.4583 and get errors regarding Log4j. Could please
someone tell me which version to use?
With 1.2 beta i get the following error:
java.lang.NoSuchFieldError: org.apache.log4j.Priority: field INFO not found
	at org.apache.poi.util.POILogFactory.<init>(POILogFactory.java:120)
	at org.apache.poi.hssf.HSSFLog.<init>(HSSFLog.java:85)
	at org.apache.poi.hssf.HSSFLog.getPOILogger(HSSFLog.java:92)
	at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<clinit>(HSSFWorkbook.java:115)
	at
pep.report.EmissionReport.writeDustEmission(EmissionReport.java:121)
	at pep.report.ReportWriter.main(ReportWriter.java:35)
Exception in thread "main"

With the 1.1.3 version i get

java.lang.NoClassDefFoundError: org/apache/log4j/Logger
	at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<clinit>(HSSFWorkbook.java:115)
	at
pep.report.EmissionReport.writeDustEmission(EmissionReport.java:121)
	at pep.report.ReportWriter.main(ReportWriter.java:35)
Exception in thread "main" Process terminated with exit code 1

Thanks for any help


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic