It finally has worked! Thanks a lot!!
Fred
On Wed, 4 Aug 1999, Hart, Lewis wrote:
> If this is correct:
>
> > > // Constructor
> > >
> > > PaginaWWW( String wurl ) {
> > > ...
> > > _________________________________________
>
> Your constructor needs to be public, that is:
>
> public PaginaWWW( String wurl ) {...
>
> Peace - Lewis
>
> Opinions are strictly those of the author and
> do not necessarily reflect those of GRCI.
> ____________________________________________
> Lewis Hart GRC International
> 703-506-5938 1900 Gallows Rd
> [EMAIL PROTECTED] Vienna, VA 22182
>
> -----Original Message-----
> From: Frederico Luiz Goncalves de Freitas [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 04, 1999 1:32 PM
> To: Ernest Friedman-Hill
> Cc: [EMAIL PROTECTED]
> Subject: Re: JESS: Jess not finding my objects
>
>
>
> Thank you for your help, but... It's still not working. Have a
> look at my CLASSPATH:
>
> > echo $CLASSPATH
> .:/home/doutorado/fred1/DriverMySQL/mm.mysql.jdbc-1.2a:/home/doutorado/fred1
> /Jess50a5/jess:/home/doutorado/fred1/Jess50a5:/home/doutorado/fred1
>
> And under fred1 directory, CFP directory is located.
>
> I've also tried specifying CFP and CFP/Codigo1 in the CLASSPATH, and it
> hasn't worked. The error is the same for all: class not found.
>
> What should I try?
>
> Fred Freitas
>
> On Wed, 4 Aug 1999, Ernest Friedman-Hill wrote:
>
> >
> > This is probably just an error in specifiying the CLASSPATH. The
> > CLASSPATH should -not- contain Codigo1 or CFP. It -should- contain the
> > directory in which CFP appears. For instance, if it's in
> > /home/fred/java/CFP, then CLASSPATH should contain
> > /home/fred/java. This is no different than how it works for any other
> > Java program.
> >
> >
> > I think Frederico Luiz Goncalves de Freitas wrote:
> > >
> > >
> > > 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]
> > > ---------------------------------------------------------------------
> > >
> > >
> >
> >
> > ---------------------------------------------------------
> > Ernest Friedman-Hill
> > Distributed Systems Research Phone: (925) 294-2154
> > Sandia National Labs FAX: (925) 294-2234
> > Org. 8920, MS 9214 [EMAIL PROTECTED]
> > PO Box 969 http://herzberg.ca.sandia.gov
> > Livermore, CA 94550
> >
> > ---------------------------------------------------------------------
> > 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]
> > ---------------------------------------------------------------------
> >
> >
>
> ---------------------------------------------------------------------
> 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]
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> 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]
> ---------------------------------------------------------------------
>
>
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
RE: JESS: Jess not finding my objects
Frederico Luiz Goncalves de Freitas Wed, 4 Aug 1999 10:18:47 -0700
- 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
- Frederico Luiz Goncalves de Freitas
