cannot find symbol

View: New views
2 Messages — Rating Filter:   Alert me  

cannot find symbol

by rana khaleel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hello,


I am attempting to compile the EchoProtocolHandler with with trace(MINA V-1.1.7) and my Java
compiler is spitting back these errors:

---------------------------------------------------
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:52: cannot find symbol
symbol : variable SSLFilter
location : class org.apache.mina.example.echoserver.EchoProtocolHandler
      session.setAttribute(SSLFilter.USE_NOTIFICATION);

2  errors
------------------------------------------------------------------------------------------

set CLASSPATH=C:\TESTJAVA\mina-core.jar;C:\TESTJAVA\slf4j-api.jar;C:\TESTJAVA\slf4j-jdk14.jar;C:TESTJAVA\slf4j-log4j12.jar;

Am I missing a .jar file or something on my classpath?


Appreciate your help

_________________________________________________________________
اتصل بالأصدقاء باستخدام اتصال كمبيوتر إلى كمبيوتر -- مجانًا
http://get.live.com/messenger/overview

Re: cannot find symbol

by String Larson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

you need main-filter-ssl-1.1.7.jar on your path(s).

On Jul 5, 2008, at 4:22 PM, rana khaleel wrote:

> org.apache.mina.filter.SSLFilter