Skip to Content
0
Former Member
Nov 30, 2005 at 05:51 AM

"cannot resolve symbol" error

1139 Views

Hi!

I am developing a portal application, in one of my JSPDynPage component's jsp page:

<%@ page language="java" %>

<%@ page import = "com.dimension.mail.server.*" %>

<%@ page import = "xmyang.util.log.*" %>

<hbj:content id="myContext" >

<hbj:page title="SMTP2SMS Server State">

<hbj:form id="myFormId" >

<%

//int mailserverstate = Mail.getServerState();//Error, java.lang.NoSuchMethodError

//int a = Mail.SERVER_STATE_NOTREADY;//cannot resolve symbol

NaiveLogger.log2("the logger 2 are loaded");//OK

%>

</hbj:form>

</hbj:page>

</hbj:content>

The class com.dimension.mail.server.Mail and xmyang.util.log.NaiveLogger are all located at <portalApp>/classes/ . NaiveLogger.log2() is correct but Mail is no good. The log file shows Mail class are successful found but it cant resolve its method and attribute and can't compile!

What's the problem?? Can somebody give me a hint? Thank you very much!