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]
---------------------------------------------------------------------
JESS: Jess not finding my objects
Frederico Luiz Goncalves de Freitas Tue, 3 Aug 1999 15:58:45 -0700
- Re: JESS: Jess not finding my objects Frederico Luiz Goncalves de Freitas
- Re: JESS: Jess not finding my obj... Ernest Friedman-Hill
- Re: JESS: Jess not finding my... Frederico Luiz Goncalves de Freitas
- RE: JESS: Jess not finding my obj... Hart, Lewis
- RE: JESS: Jess not finding my... Frederico Luiz Goncalves de Freitas
