[Anthill-pro] NoClassDefFoundError using CodeStation from Ant

Mark_Melvin at amis.com Mark_Melvin at amis.com
Tue Sep 30 15:38:59 CDT 2008


Hi There,

I am trying to use CodeStation from Ant in order to get local developer 
builds working.  I finally got my files sorted but when I execute it 
(using Ant 1.7.1 and Anthill 3.5.4_19738) I get the following error:

resolve:

[codestation:resolve] Using Codestation cache
[codestation:resolve] Retrieving configuration for "NVMD - HEAD Build" 
from https://localhost:8443

BUILD FAILED
C:\_cvs\testing\nvmd\build.xml:40: The following error occurred while 
executing this line:
c:\anthill3\codestation\common.xml:24: The following error occurred while 
executing this line:
c:\anthill3\codestation\common.xml:45: java.lang.NoClassDefFoundError: 
org/apache/log4j/Priority

I have the 4 .jars shipped with the Ant support .zip linked on the Tools 
page on my Ant classpath (obviously because codestation:resolve works). 
The only way I can get rid of this error is to take the log4j-1.2.15.jar 
file from <ANTHILL_HOME>\server\lib and stick it on my Ant classpath. Even 
then I get warnings about log4j being configured incorrectly, but the 
resolve works and I can build my project.  I get the same error if I 
attempt to run the sample build file included in the Ant support .zip 
file.

Is there something missing from the Ant support .zip file or am *I* 
missing something?

Thanks in advance,
Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080930/24156563/attachment.htm


More information about the Anthill-pro mailing list