You need to tell us what class is X.

From my experience if X is java.lang.String this may mean that you need import statements in jess, like:
(import java.util.*)

If Jess can not find class, it treats first argument to call as an instance of java.lang.String class.

Otherwise may be scope issue (private, public protected, ...)

Dusan Sormaz

At 02:33 PM 5/4/2004 +0200, you wrote:
Hello,

I`ve the following problem. In want to use a method of a class in jess. this is no problem with the main-method. I`ve a method called getBack for example. In Java there is no problem. when i try to use the method in jess, the following error message appears.
what is my mistake?

no method named ... found in class X

It is the correct class. but the method is not found?

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

***************************************************************************
* Dušan Šormaz, PhD, Associate Professor                     
* Ohio University
* Industrial and Manufacturing Systems Engineering Department
* 277 Stocker Center, Athens, OH 45701-2979
* phone: (740) 593-1545
* fax:   (740) 593-0778 
* e-mail: [EMAIL PROTECTED]
* url: http://www.ent.ohiou.edu/~sormaz
***************************************************************************

Reply via email to