[Anthill] java.lang.NoClassDefFoundError

Eric Minick eric at urbancode.com
Fri Jun 25 10:12:54 CDT 2004


Michael,

I don't do use the FTP task myself, but I believe that in some cases you 
do need the jakarta-oro jar as well. I think that there are times the 
FTP task needs to do some regular expression work and so turns to 
jakarta-oro for that. The code base from both started out from the same 
company who eventually donated it Apache.

Eric

Lee, Michael.M wrote:

>Thanks a lot for your help, Eric.
>
>Let me make sure if I understood it correctly.  I thought for telnet and
>FTP, we only need commons-net.jar file.  do I need jakarta-oro jar in
>addition to commons-net jar?
>
>Thanks.
>
>
>Michael
>
>-----Original Message-----
>From: anthill-bounces at lists.urbancode.com
>[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Eric Minick
>Sent: Friday, June 25, 2004 9:54 AM
>To: Anthill user list
>Subject: Re: [Anthill] java.lang.NoClassDefFoundError
>
>
>Michael,
>
>My apologies, I hadn't looked carefully enough at the subject of your 
>email. I'll need to double check this, but I believe you can simply drop 
>your jar file into the Anthill/lib/ant1.5.1 directory.
>
>-- Eric
>
>Lee, Michael.M wrote:
>
>  
>
>>will it work with Anthill?  I don't have the pro version yet.
>>
>>-----Original Message-----
>>From: anthill-bounces at lists.urbancode.com
>>[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Eric Minick
>>Sent: Friday, June 25, 2004 9:42 AM
>>To: Anthill user list
>>Subject: Re: [Anthill] java.lang.NoClassDefFoundError
>>
>>
>>Michael,
>>
>>That's an interesting one to be sure. I'd start by making sure the 
>>jakarta oro jar is in your builder's path. You can edit your build 
>>track, click on the builder, then click on your ant configuration to 
>>check. It will list off all the extra jars in the classpath. If you need 
>>to add it, drop the jar in the AnthillPro/ext directory and edit the ant 
>>configuration. You'll have a list of jar files to either add or not add 
>>at your discretion.
>>
>>Regards,
>>
>>Eric
>>
>>Lee, Michael.M wrote:
>>
>> 
>>
>>    
>>
>>>Hello.
>>>
>>>I have this build server I set up and have been running for a year without
>>>any problems.  However, when I restarted the server last night, all the
>>>build scripts were failing with the following error.
>>>
>>>java.lang.NoClassDefFoundError:
>>>org/apache/oro/text/regex/MalformedPatternException
>>>
>>>the buildscript for this error is
>>>  <ftp action="get"
>>>       server="${telnet_server}"
>>>       userid="${telnet_id}"
>>>       password="${telnet_pw}"
>>>       remotedir="${telnet_proj_folder}/build/release">
>>>	    <fileset dir="${local_download_folder}">
>>>	          <include name="*.*"/>
>>>	    </fileset>
>>>  </ftp>
>>>
>>>It seems like it's not picking up the jar file for FTP.  the funny thing
>>>      
>>>
>is
>  
>
>>>the build script uses FTP task earlier part of the script and it works
>>>      
>>>
>just
>  
>
>>>fine.  The only difference is the earlier one uses "send" as action
>>>      
>>>
>instead
>  
>
>>>"get".
>>>
>>>Can someone help me out?  
>>>
>>>Thanks.
>>>
>>>Michael.
>>>_______________________________________________
>>>Anthill mailing list
>>>Anthill at lists.urbancode.com
>>>http://lists.urbancode.com/mailman/listinfo/anthill
>>>
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>>_______________________________________________
>>Anthill mailing list
>>Anthill at lists.urbancode.com
>>http://lists.urbancode.com/mailman/listinfo/anthill
>>_______________________________________________
>>Anthill mailing list
>>Anthill at lists.urbancode.com
>>http://lists.urbancode.com/mailman/listinfo/anthill
>>
>>
>> 
>>
>>    
>>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
>  
>



More information about the Anthill mailing list