ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dave.smith" <ger...@gmail.com>
Subject Re: Won't Build: NoClassDefFoundError
Date Tue, 12 Aug 2008 19:39:45 GMT

I am able to jar tf serializer.jar from the user that is running ant.

/usr/share/ant/lib has only serializer.jar
which ant ==> /usr/bin/ant
echo $ANT_HOME ==> /usr/share/ant

I also tried running ant with ant -lib /usr/share/ant/lib/ junit.  I got the
same error.

Thanks again,
Dave


Scot P. Floess wrote:
> 
> Is your ANT_HOME = /usr/share/ant
> 
> On Tue, 12 Aug 2008, dave.smith wrote:
> 
>>
>> Hi Scot,
>>
>> Thanks for your fast reply.
>>
>> 1)  Yes, I see SerializerTrace.class in there
>> 2)  Yes, it has 0644 permissions
>> 3)  No, but I exported it as /usr/share/ant and it still did not work.
>>
>>
>> Scot P. Floess wrote:
>>>
>>>
>>> So, couple of questions...
>>>
>>> 1) Is SerializerTrace actually in that jar?
>>> 2) Are the permissions such that that jar is readable by you as a user?
>>> 3) IS your ANT_HOME /usr/share/ant ?
>>>
>>> On Tue, 12 Aug 2008, dave.smith wrote:
>>>
>>>>
>>>> What am I missing?  I have serializer.jar in /usr/share/ant/lib, but I
>>>> keep
>>>> getting this error when I run ant junit:
>>>>
>>>> junit:
>>>>
>>>> BUILD FAILED
>>>> java.lang.NoClassDefFoundError:
>>>> org/apache/xml/serializer/SerializerTrace
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Won%27t-Build%3A--NoClassDefFoundError-tp18949641p18949641.html
>>>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>
>>>>
>>>
>>> Scot P. Floess
>>> 27 Lake Royale
>>> Louisburg, NC  27549
>>>
>>> 252-478-8087 (Home)
>>> 919-754-4592 (Work)
>>>
>>> Chief Architect JPlate   http://sourceforge.net/projects/jplate
>>> Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
>>>
>>> Architect Keros          http://sourceforge.net/projects/keros
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Won%27t-Build%3A--NoClassDefFoundError-tp18949641p18950819.html
>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
> 
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC  27549
> 
> 252-478-8087 (Home)
> 919-754-4592 (Work)
> 
> Chief Architect JPlate   http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
> 
> Architect Keros          http://sourceforge.net/projects/keros
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Won%27t-Build%3A--NoClassDefFoundError-tp18949641p18951262.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message