Hi, mina-core is on 2.0.4. These are the included libraries and their version numbers: ftpserver-core: 1.0.6 ftplet-api: 1.0.6 slf4j-api: 1.5.2 mina-core: 2.0.4 ... spring framework is 3.2.4.RELEASE cglib: 2.2 slf4j-simple: 1.5.2 log4j: 1.2.15 camel-mina: 2.10.1
There are some other libraries in this project but I do not think they cause the issue. Tomcat version is latest 7. Mit freundlichen Grüßen, David Weisgerber --- David Weisgerber Software Entwickler M&S GmbH Leibnizstraße 7 85521 Ottobrunn ________________________________________ Von: David Latorre [dvl...@gmail.com] Gesendet: Donnerstag, 9. Juli 2015 00:14 An: ftpserver-users@mina.apache.org Betreff: Re: Problem with FTPServer / MINA on Tomcat Try removing the Mina-core dependency. It doesn't specify the version number and it is probably being included as a transitive dependency of Mina ftpserver anyway. In case mina-core didn't get included, specify the correct version (2.0.4 I think) for the library El 08/07/2015 12:33, "David Weisgerber" <david.weisger...@ms-gmbh.de> escribió: > Hi there, > for some days I am struggling to get the FTPServer running on my Tomcat > instance. I have my implementatio for the FTPServer, as I need it, running > in a jUnit-test environment but as soon as I deploy it to tomcat I get the > following Error (not Exception(!)) as soon as a client connects to the > FTPServer: > Exception in thread "pool-1-thread-1" > java.lang.IncompatibleClassChangeError > at > org.apache.mina.core.filterchain.DefaultIoFilterChain.register(DefaultIoFilterChain.java:277) > at > org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(DefaultIoFilterChain.java:174) > at > org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFilterChain(DefaultIoFilterChainBuilder.java:452) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(AbstractPollingIoProcessor.java:530) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSessions(AbstractPollingIoProcessor.java:503) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:68) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1133) > at > org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > > I am totally unsure which component is in conflict and causes this error. > I think that SLF4J and Mina-core should be in the correct version. Can this > error come because of some weird problem with AOP components coming with > Spring? > This is how I add the dependencies to Spring: > <dependency> > <groupId>org.apache.ftpserver</groupId> > <artifactId>ftpserver-core</artifactId> > <version>1.0.6</version> > <exclusions> > <exclusion> > > <groupId>org.springframework</groupId> > > <artifactId>spring-context</artifactId> > </exclusion> > </exclusions> > </dependency> > <dependency> > <groupId>org.apache.mina</groupId> > <artifactId>mina-core</artifactId> > </dependency> > > > Thanks for help, > > Mit freundlichen Grüßen, > David Weisgerber > > --- > David Weisgerber > Software Entwickler > M&S GmbH > Leibnizstraße 7 > 85521 Ottobrunn