commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell" <flame...@gmail.com>
Subject Re: [commons-net ftp] help! can I avoid oro.jar? (MalformedPatternException)
Date Mon, 07 Aug 2006 20:22:23 GMT
I'm afraid it's the obvious one - check the code out and modify bits.
Alternatively, take an oro jar and rip out the bits that are being
used (maybe using Torsten's minijar).

Hen

On 8/7/06, Anil Philip <goodnewsforyou@yahoo.com> wrote:
> Hello,
> I am getting this error during a call to
> FTPFile[] f = FTPClient.listFiles();
> Using commons-net-1.4.1
> I googled and read that the oro.jar is missing.
> However my application is sensitive to download times
> and I dont wish to add the oro.jar if possible - I am
> not using regex here.
> Is there any way out?
> thanks,
> Anil
>
> ===================================================
> Exception in thread "main"
> java.lang.NoClassDefFoundError:
> org/apache/oro/text/regex/MalformedPatternException
>         at
> org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createUnixFTPEntryParser(DefaultFTPFileEntryParserFactory.java:169)
>         at
> org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:94)
>         at
> org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
>         at
> org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
>         at
> org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
> ===================================================
>
> Any help appreciated.
> thanks,
> anil
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message