I am just a beginner in mina....I'm having toruble compiling the EchoServer 
exmaple with the following
trace(MINA V-1.1.7):

I get the following error when I type javac into the command line



c:\Program Files\Java\jdk1.5.0_15\bin>javac EchoProtocolHandler.java
EchoProtocolHandler.java:28: cannot find symbol
symbol: class SSLFilter
location: package org.apache.mina.filter
import org.apache.mina.filter.SSLFilter;

EchoProtocolHandler.java:30: package org.slf4j does not exist
import org.slf4j.Logger;

EchoProtocolHandler.java:31: package org.slf4j does not exist
import org.slf4j.LoggerFactory;

EchoProtocolHanlder.java:40: can not find symbol
symbol   :  class Logger
Location : class org.apache.mina.example.echoserver.EchoProtocolHandler
    private static final Logger log = LoggerFactory

EchoProtocolHanlder.java:40: can not find symbol
symbol : variable LoggerFactory
Location : class org.apache.mina.example.echoserver.EchoProtocolHanlder
 private static final Logger log = LoggerFactory

EchoProtocolHandler.java:52: cannot find  symbol
symbol : variable SSLFilter 
Location : class org.apache.mina.example.echoserver.EchoProtocolHandler
  session.setAttribute;

6 errors
 

what do i need to do to compile the example code????? 

I dont know Where do I put all the Mina files?

how do i set the class path properly? what should i enter in the environment 
variable? can anyone tell me exactly what to enter and where to enter?
my java directory (where i installed it) is 

C:\Program Files\Java\jdk1.5.0_15\bin


Appreciate ur help.
_________________________________________________________________
جرّب بعض  الخدمات الجديدة على الإنترنت في Windows Live Ideas—إنها جديدة جدًا 
ولم يتم إصدارها رسميًا حتى الآن.
http://ideas.live.com

Reply via email to