You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by johnis <jo...@gmail.com> on 2007/10/01 06:54:11 UTC

Problems in running mina examples

Hi I am just a beginner in mina. I downloaded the mina project built it and
then tried to run some examples but it is showing the following errors

Exception in thread "main" java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory
        at
org.apache.mina.filter.executor.ExecutorFilter.<init>(ExecutorFilter.java:48)
        at
org.apache.mina.filter.executor.ExecutorFilter.<init>(ExecutorFilter.java:57)
        at
org.apache.mina.common.ExecutorThreadModel.<init>(ExecutorThreadModel.java:76)
        at
org.apache.mina.common.ExecutorThreadModel.getInstance(ExecutorThreadModel.java:64)
        at
org.apache.mina.common.support.BaseIoServiceConfig.<init>(BaseIoServiceConfig.java:45)
        at
org.apache.mina.common.support.BaseIoAcceptorConfig.<init>(BaseIoAcceptorConfig.java:35)
        at
org.apache.mina.transport.vmpipe.VmPipeAcceptor$2.<init>(VmPipeAcceptor.java:49)
        at
org.apache.mina.transport.vmpipe.VmPipeAcceptor.<init>(VmPipeAcceptor.java:49)
        at org.apache.mina.example.tennis.Main.main(Main.java:46)
The classpath is properly set as well. Seeking for help
-- 
View this message in context: http://www.nabble.com/Problems-in-running-mina-examples-tf4546230s16868.html#a12973345
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.


Re: Problems in running mina examples

Posted by Jeroen Brattinga <je...@gmail.com>.
Take a look at http://mina.apache.org/logging-configuration.html


Jeroen Brattinga.

johnis wrote:
> Hi I am just a beginner in mina. I downloaded the mina project built it and
> then tried to run some examples but it is showing the following errors
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/slf4j/LoggerFactory
>         at
> org.apache.mina.filter.executor.ExecutorFilter.<init>(ExecutorFilter.java:48)
>         at
> org.apache.mina.filter.executor.ExecutorFilter.<init>(ExecutorFilter.java:57)
>         at
> org.apache.mina.common.ExecutorThreadModel.<init>(ExecutorThreadModel.java:76)
>         at
> org.apache.mina.common.ExecutorThreadModel.getInstance(ExecutorThreadModel.java:64)
>         at
> org.apache.mina.common.support.BaseIoServiceConfig.<init>(BaseIoServiceConfig.java:45)
>         at
> org.apache.mina.common.support.BaseIoAcceptorConfig.<init>(BaseIoAcceptorConfig.java:35)
>         at
> org.apache.mina.transport.vmpipe.VmPipeAcceptor$2.<init>(VmPipeAcceptor.java:49)
>         at
> org.apache.mina.transport.vmpipe.VmPipeAcceptor.<init>(VmPipeAcceptor.java:49)
>         at org.apache.mina.example.tennis.Main.main(Main.java:46)
> The classpath is properly set as well. Seeking for help
>