Some Jess features are accidentally unavailable in the binary-only
demo distribution. 6.0a7 was the first version of Jess released in
this format, so we've been learning a few things about how to do it
correctly. I'm going to be releasing a 6.0a8 version very soon with
minor bug fixes to correct the situation.
If you have the licensed distribution of Jess, these problems don't
apply.
I think wqyivy wrote:
> Hello,everyone
> I want use (view) function to see the pattern network. but it give error message
>like this
> Jess> (defrule r1
> (x)
> (y)
> (z)
> =>)
> TRUE
> Jess>
> Jess> (load-package jess.ViewFunctions)
> TRUE
> Jess> (view)
> Exception in thread "main" java.lang.NoClassDefFoundError: jess.Node1
> at jess.d3.class$(Unknown Source)
> at jess.d3.if(Unknown Source)
> at jess.d3.<init>(Unknown Source)
> at jess.cp.call(Unknown Source)
> at jess.d5.a(Unknown Source)
> at jess.Funcall.execute(Unknown Source)
> at jess.Jesp.a(Unknown Source)
> at jess.Jesp.char(Unknown Source)
> at jess.Jesp.parse(Unknown Source)
> at jess.Main.execute(Unknown Source)
> at jess.Main.main(Unknown Source)
>
> How can I use none build-in function? Also, in jess60a7 I cann't use ppdefrule,
>ppdeftemplate etc. Whenever I use them, jess will report
>
> Jess> (deftemplate d1
> (slot name)
> (slot age)
> )
> TRUE
> Jess> (ppdeftemplate d1)
> Jess reported an error in routine new
> while executing (new jess.PrettyPrinter ?__template)
> while executing (call (new jess.PrettyPrinter ?__template) toStri
> while executing deffunction ppdeftemplate
> while executing (ppdeftemplate d1).
> Message: Class not found.
> Program text: ( ppdeftemplate d1 ) at line 8.
> Nested exception is:
> jess.PrettyPrinter
> java.lang.ClassNotFoundException: jess.PrettyPrinter
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:120)
> at jess.Rete.if(Unknown Source)
> at jess.cs.call(Unknown Source)
> at jess.d5.a(Unknown Source)
> at jess.Funcall.execute(Unknown Source)
> at jess.FuncallValue.resolveValue(Unknown Source)
> at jess.v.call(Unknown Source)
> at jess.d5.a(Unknown Source)
> at jess.Funcall.execute(Unknown Source)
> at jess.FuncallValue.resolveValue(Unknown Source)
> at jess.Deffunction.call(Unknown Source)
> at jess.d5.a(Unknown Source)
> at jess.Funcall.execute(Unknown Source)
> at jess.Jesp.a(Unknown Source)
> at jess.Jesp.char(Unknown Source)
> at jess.Jesp.parse(Unknown Source)
> at jess.Main.execute(Unknown Source)
> at jess.Main.main(Unknown Source)
> Jess>
> Is there anyone who can help?
> Thanks a lot.
> Ivy
>
>
> -----------------------------------------
> ��200Ԫ�����ѵľ���
> http://ecard.etang.com/progt/index.asp?s1=1&s2=1
> ���������֣���Ǽ�
> http://cet.etang.com
> �����ֻ�����Ϣ-�����ڴ�
> http://www.etang.com/sms/index.htm
> ���������
> http://topic.etang.com/football/index.htm
>
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [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]
---------------------------------------------------------------------