Hello,

I'm trying to add new simple custom mailet by
following<http://james.apache.org/server/3/dev-extend-mailet.html>this
guide instructions, also added to the mailetcontainer.conf the
following line, as needed:
<mailet match="All" class="mypackage.MyMailetClass"/>

I packed the mailet project into a jar file and copied it to
the \apache-james-3.0-beta4\conf\lib folder - this should be enough for
adding my jar into the classpath as according to
this<http://james.apache.org/server/3/config-mailetcontainer.html>the
mailetcontainer.xml configuration is not needed.

Bottom line - when I start the James server it fail to restart and I see a
ClassNotFoundException for my mailet class in the mailetcontainer.log.

What I'm missing here?

Thanks,
Meir.

Reply via email to