Yep I get that too. Am looking into it. The SMF stuff is quite new, so there
are still things like this to iron out, but its good to know its not just my
environment.


Michael.

On 1/9/06, Kapil Gupta <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have just downloaded the Drools 2.5 Beta and trying to run the
> HelloWorldExample program. I receive the following error on running
> the program. All the required jars are in the classpath
>
> drools/org/HelloWorld_1136780794223/java/Hello_World_0.java(23)
> The method helloWorld(String) is undefined for the type Hello_World_0
> drools/org/HelloWorld_1136780794223/java/Hello_World_0.java(13)
> drools.org.HelloWorld_1136780793364 cannot be resolved to a type
> drools/org/HelloWorld_1136780794223/java/Hello_World_0.java(23)
> The method helloWorld(String) is undefined for the type Hello_World_0
> drools/org/HelloWorld_1136780794223/java/Goodbye_Cruel_World_0.java(13)
> drools.org.HelloWorld_1136780793364 cannot be resolved to a type
> drools/org/HelloWorld_1136780794223/java/Goodbye_Cruel_World_0.java(23)
> The method goodbyeWorld(String) is undefined for the type
> Goodbye_Cruel_World_0
> The method goodbyeWorld(String) is undefined for the type
> Goodbye_Cruel_World_0
> FIRE RULES(Hello)
> ----------
> Exception in thread "main" java.lang.NoClassDefFoundError:
> drools/org/HelloWorld_1136780794223/java/Hello_World_0
>         at
> drools.org.HelloWorld_1136780794223.java.Hello_
> World_0Invoker$Condition_0Invoker.invoke(Hello_World_0Invoker.java:22)
>         at org.drools.semantics.java.JavaCondition.isAllowed(
> JavaCondition.java:172)
>         at org.drools.reteoo.ConditionNode.assertTuple(ConditionNode.java
> :154)
>         at org.drools.reteoo.TupleSource.propagateAssertTuple(
> TupleSource.java:118)
>         at org.drools.reteoo.ParameterNode.assertObject(ParameterNode.java
> :126)
>         at org.drools.reteoo.ObjectTypeNode.assertObject(
> ObjectTypeNode.java:173)
>         at org.drools.reteoo.Rete.assertObject(Rete.java:111)
>         at org.drools.reteoo.RuleBaseImpl.assertObject(RuleBaseImpl.java
> :193)
>         at org.drools.reteoo.WorkingMemoryImpl.assertObject
> (WorkingMemoryImpl.java:373)    at
> org.drools.reteoo.WorkingMemoryImpl.assertObject
> (WorkingMemoryImpl.java:348) at
> org.drools.example.HelloWorldExample.main(HelloWorldExample.java:47)
>
> The same program runs well with Drools 2.1. Please help me out.
> Thanks & Regards,
> Kapil
>
>
>

Reply via email to