You donīt have the Log4J library in your classpath ... havenīt you?

Jan

> -----Original Message-----
> From: Ben Doku [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 26, 2004 1:57 PM
> To: [EMAIL PROTECTED]
> Subject: Unable to compile packages that use log4J.logger - 
> Please Help
> 
> 
> Hi All,
> 
> Today is my first day using ant, so apologies if this is a 
> FAQ. So far I
> have been able to use ant to create a directory. I am experiencing
> problems using ant to compile a package.
> 
> For some reason there is a problem importing org.apache.log4j.Logger,
> which is used in the web application. Here is a snippet of the error:
> 
> init:
> Created dir: /build
> compile:
> Compiling 59 source files to /build
> WEB-INF/classes/com/experian/business/AccountMngrBO.java
> [37] package org.apache.log4j does not exist
> import org.apache.log4j.Logger;
>                         ^
> WEB-INF/classes/com/experian/business/SupplierBO.java
> [26] package org.jdom.output does not exist
> import org.jdom.output.*;
> ^
> WEB-INF/classes/com/experian/business/SupplierBO.java
> [27] package org.jdom does not exist
> import org.jdom.*;
> ^
> WEB-INF/classes/com/experian/business/SupplierBO.java
> [129] cannot resolve symbol
> symbol  : class Document
> location: class com.experian.business.SupplierBO
>     private static void writeToFile(String fname,
> Document doc) {
>                                                   ^
> WEB-INF/classes/com/experian/business/ClientBO.java
> [31] package org.apache.log4j does not exist
> import org.apache.log4j.Logger;
>                         ^
> Please assist me in resolving this problem.
> 
> Cheers,
> 
> Ben
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to