I wrote the following sample Class and copied it in the jess directory and
compile:

package jess;

class Alex{
     public String m_property;
     public void setProperty( String s){
          m_property = s;
     }

     public String getProperty(){
          return m_property;
     }

}

In jess, when I write (bind ?a (new Alex))
I get the error message: Constructor not found jess.Alex...

If I add to the java class the line:
     public Alex(){}

and repeat the same test, I get the message: Class or Constructor not
accessible.

What am I missing?




---------------------------------------------------------------------
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]
---------------------------------------------------------------------

Reply via email to