Hello. 

I use servicemix 4.3.1. 
I am developing a Camel route for working with vfs. 
The route contains processor with a next code:

/FtpFileSystemConfigBuilder instance =
FtpFileSystemConfigBuilder.getInstance(); /
it throws exception: /java.lang.NoClassDefFoundError:
org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory/

Of cource, all needed features installed. 
Moreover, I used strict policy for "Import-Package"
/org.apache.commons.vfs.provider.ftp;version="1.0";resolution:="mandatory",
org.apache.commons.net.ftp;version="2.2";resolution:="mandatory"/
and my bundle successfully started after deploy.

It's a remarkable detail, I can write in the my processor:
/FTPFileEntryParserFactory ftpFileEntryParserFactory = new
DefaultFTPFileEntryParserFactory();/
and instance of FTPFileEntryParserFactory created successfully.

Could anybody explain me root of trouble?


--
View this message in context: 
http://servicemix.396122.n5.nabble.com/exception-of-FtpFileSystemConfigBuilder-getInstance-tp5432593p5432593.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to