-
Nov 1st, 2011, 11:20 AM
#1
FTP using Spring Integration
Hi,
I am trying to run the ftp example from github. While doing so I am facing two issues.
1. The dependent jar files do not transfer to my local. So I am not able to do maven build. I m downloading jar files and keeping it in lib to run examples.
2. I am getting the following error while trying to run ftp example. I am using jars like spring, spring-beans, spring-context, spring-context-support, spring-core, spring-integration-core, spring-integration-file, spring-integration-ftp, spring-integration-stream. Can anyone help me in resolving this issue.
Exception in thread "main" java.lang.NoSuchMethodError: org.springframework.beans.factory.support.RootBean Definition.<init>(Ljava/lang/String
V
at org.springframework.integration.config.xml.Default ConfiguringBeanFactoryPostProcessor.registerIdGene ratorConfigurer(DefaultConfiguringBeanFactoryPostP rocessor.java:82)
at org.springframework.integration.config.xml.Default ConfiguringBeanFactoryPostProcessor.postProcessBea nFactory(DefaultConfiguringBeanFactoryPostProcesso r.java:59)
at org.springframework.context.support.AbstractApplic ationContext.invokeBeanFactoryPostProcessors(Abstr actApplicationContext.java:553)
at org.springframework.context.support.AbstractApplic ationContext.invokeBeanFactoryPostProcessors(Abstr actApplicationContext.java:544)
at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:362)
at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:139)
at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:83)
at org.springframework.integration.samples.ftp.FtpInb oundChannelAdapterSample.main(FtpInboundChannelAda pterSample.java:33)
Thanks,
Balaji D
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules