com.zehon.exception.FileTransferException: java.lang.NoSuchMethodError: org.apache.commons.net.ftp.FTPClient.setParserFactory(Lorg/apache/commons/net/ftp/parser/FTPFileEntryParserFactory;)V 2010-07-22 15:57:26,696 ERROR [STDERR] at com.zehon.FileTransferClient.getFileNamesInFolder(FileTransferClient.java:858) 2010-07-22 15:57:26,696 ERROR [STDERR] at com.zehon.ftp.FTPClient.getFileNamesInFolder(FTPClient.java:545) 2010-07-22 15:57:26,696 ERROR [STDERR] at com.broadvision.action.xmlrequest.XMLRequestUtil.TransferFtptolocal(XMLRequestUtil.java:461) 2010-07-22 15:57:26,696 ERROR [STDERR] at com.broadvision.action.xmlrequest.XMLRequestUtil.getXMLRequestFiles2DB(XMLRequestUtil.java:77) 2010-07-22 15:57:26,696 ERROR [STDERR] at corp.broadvision.org.XMLgeneration.SchedularServlet$1.run(SchedularServlet.java:27) 2010-07-22 15:57:26,696 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)


Solutions on the web

Solution icon of coderanch
via Coderanch by Durgesh Rajbhar, 1 year ago
(XMLRequestUtil.java:461) 2010-07-22 15:57:26,696 ERROR [STDERR] at com.broadvision.action.xmlrequest.XMLRequestUtil.getXMLRequestFiles2DB(XMLRequestUtil.java:77) 2010-07-22 15:57:26,696 ERROR [STDERR] at corp.broadvision.org.XMLgeneration.SchedularServlet$1.run(SchedularServlet.java:27) 2010-07-22 15:57:26,696 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)

Stack trace

com.zehon.exception.FileTransferException: java.lang.NoSuchMethodError: org.apache.commons.net.ftp.FTPClient.setParserFactory(Lorg/apache/commonset/ftp/parser/FTPFileEntryParserFactory;)V
2010-07-22 15:57:26,696 ERROR [STDERR] 	at com.zehon.FileTransferClient.getFileNamesInFolder(FileTransferClient.java:858)
2010-07-22 15:57:26,696 ERROR [STDERR] 	at com.zehon.ftp.FTPClient.getFileNamesInFolder(FTPClient.java:545)
2010-07-22 15:57:26,696 ERROR [STDERR] 	at com.broadvision.action.xmlrequest.XMLRequestUtil.TransferFtptolocal(XMLRequestUtil.java:461)
2010-07-22 15:57:26,696 ERROR [STDERR] 	at com.broadvision.action.xmlrequest.XMLRequestUtil.getXMLRequestFiles2DB(XMLRequestUtil.java:77)
2010-07-22 15:57:26,696 ERROR [STDERR] 	at corp.broadvision.org.XMLgeneration.SchedularServlet$1.run(SchedularServlet.java:27)
2010-07-22 15:57:26,696 ERROR [STDERR] 	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.NoSuchMethodError: org.apache.commons.net.ftp.FTPClient.setParserFactory(Lorg/apache/commonset/ftp/parser/FTPFileEntryParserFactory;)V
	at org.apache.commons.vfs.provider.ftp.FtpClientFactory.createConnection(FtpClientFactory.java:125)
	at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.createClient(FTPClientWrapper.java:70)
	at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.getFtpClient(FTPClientWrapper.java:89)
	at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.<init>(FTPClientWrapper.java:48)
	at org.apache.commons.vfs.provider.ftp.FtpFileProvider.doCreateFileSystem(FtpFileProvider.java:85)
	at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:103)
	at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:82)
	at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:66)
	at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:692)
	at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:620)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.