Embed the Apache FTPServer (Mina) in Tomcat
<p>I'm trying to run a FTP server in my web application.<br>
I've started here : 
<a href="http://mina.apache.org/ftpserver-project/embedding_ftpserver.html" rel="nofollow noreferrer">http://mina.apache.org/ftpserver-project/embedding_ftpserver.html</a>
and put this in my FOM:</p>

<pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.apache.ftpserver&lt;/groupId&gt;
    &lt;artifactId&gt;ftpserver-core&lt;/artifactId&gt;
    &lt;version&gt;1.0.6&lt;/version&gt;
&lt;/dependency&gt;

&lt;dependency&gt;
    &lt;groupId&gt;org.apache.ftpserver&lt;/groupId&gt;
    &lt;artifactId&gt;ftplet-api&lt;/artifactId&gt;
    &lt;version&gt;1.0.6&lt;/version&gt;
&lt;/dependency&gt;

&lt;dependency&gt;
    &lt;groupId&gt;org.apache.mina&lt;/groupId&gt;
    &lt;artifactId&gt;mina-core&lt;/artifactId&gt;
    &lt;version&gt;3.0.0-M2&lt;/version&gt;
&lt;/dependency&gt;

&lt;dependency&gt;
    &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
    &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
    &lt;version&gt;1.7.18&lt;/version&gt;
&lt;/dependency&gt;
</code></pre>

<p>But when starting my Tomcat I got this error:</p>

<pre><code>Mar 11, 2016 2:49:30 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Mar 11, 2016 2:49:30 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/sagitarii] startup failed due to previous errors
</code></pre>

<p>...and my application stop.</p>

<p>what I'm doing wrong?</p>