ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RADEMAKERS Tanguy <tanguy.rademak...@swift.com>
Subject Re: Unable to compile packages that use log4J.logger - Please Help
Date Thu, 26 Feb 2004 14:37:24 GMT
Hi Ben,

Could you post the relevant target in your build.xml file?

/t


Ben Doku wrote:

>Yes I do.
>
>I have the following path in my classpath:
>
>...../log4j/jakarta-log4j-1.2.8/dist/lib.
>
>Is this a problem?
>
>Jan.Materne@rzf.fin-nrw.de said:
>  
>
>>You don´t have the Log4J library in your classpath ... haven´t you?
>>
>>Jan
>>
>>    
>>
>>>-----Original Message-----
>>>From: Ben Doku [mailto:j2eenewb@xs4all.nl]
>>>Sent: Thursday, February 26, 2004 1:57 PM
>>>To: user@ant.apache.org
>>>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: user-unsubscribe@ant.apache.org
>>>For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>      
>>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message