Does anyone know what the following error message means:


--------------------------- Compiler Output ---------------------------
VirtualAgent.java:635: cannot resolve symbol
symbol  : constructor AgentInterpreterVisitor  (HumanBehavior)
location: class clmproject.agentBSL.AgentInterpreterVisitor
  AgentBSLParserVisitor visitor = new AgentInterpreterVisitor(test);
                                  ^
1 error

Here the VirtualAgent is main class in which it calls the
AgentInterpreterVisitor class and pass the HumanBehavior class as a parameter.
The HumanBehavior is a class.  The test is an instance of the HumanBehavior
class. I have written the AgentInterpreterVisitor class and declare the
constructor as

public AgentInterpreterVisitor(HumanBehavior hb)
{ ///......

The AgentInterpreterVisitor class has been compiled successfully. When I compile
the VirtualAgent class the above error prompt. I simply cann't figure out why
there is such an error. I replace the HumanBehavior class with a Vector class as
the passing parameter. Both classes works fine (successfully compiled).

Could anyone tell me why?

Thank you in advance

Liming

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to