Hi,

I'm a newcomer in Jess and I 'm probably doing something wrong. Jess is
not finding the class of an object I'm trying to create. Does
anybody knows why? Here's the code (all files under \CFP\Codigo1
directory - I'm not using java Beans):

Jess code :

(bind ?url (fetch string_URL))

(defglobal ?*page* = (new CFP.Codigo1.PaginaWWW ?url))
_____________________________________________
Java code : 

package CFP.Codigo1;

import java.io.*;
...

public class PaginaWWW {
    public URL url;                     
        ...
******************************************************************************
    // Constructor

    PaginaWWW( String wurl ) {
        ...
_________________________________________

Error :

Jess> TRUE
Jess> "http://www.ahsr.org/1998/abstracts/index.html"
Jess> Class not found
java.lang.ClassNotFoundException: CFP.Codigo1.PaginaWWW
( defglobal ?*page* = ( new CFP.Codigo1.PaginaWWW ?url )
new
Jess reported an error in routine new while executing (new
CFP.Codigo1.PaginaWWW ?url) while executing definition for defglobal
?*page*.
  Message: Class not found.
  Program text: ( defglobal ?*page* = ( new CFP.Codigo1.PaginaWWW ?url )
at line 27.

I'm executing at UNIX. CLASSPATH contains directories CFP/Codigo 1 and
parents.

Thank you in advance for any help.

Fred Freitas 
Univ. Sta Catarina - Brasil

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