Hi! http://mina.apache.org/quick-start-guide.html
MINA has some requirements: - MINA 1.1 Core - JDK 1.5 or greater - SLF4J <http://www.slf4j.org/> 1.3.0 or greater - *Log4J 1.2* users: slf4j-api.jar, slf4j-log4j12.jar, and Log4J<http://logging.apache.org/log4j/docs/>1.2.x - *Log4J 1.3* users: slf4j-api.jar, slf4j-log4j13.jar, and Log4J<http://logging.apache.org/log4j/docs/>1.3.x - *java.util.logging* users: slf4j-api.jar and slf4j-jdk14.jar - *IMPORTANT*: Please make sure you are using the right slf4j-*.jarthat matches to your logging framework.\ For instance, slf4j-log4j12.jar and log4j-1.3.x.jar can not be used together, and will malfunction. If you are using SSL filter too, you need mina-filter-ssl-1.1.7.jar (from mina-1.1.7.zip). 2008/7/2 rana khaleel <[EMAIL PROTECTED]>: > > > 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 >
