[rules-users] Unable to compile JBoss Rules example code - HelloWorldExample.java

venkatesh devalapura nagabhushana venkatesh.nag at wipro.com
Mon Feb 19 01:54:59 EST 2007


Hi,

I am unable to compile the example code for JBoss, could some body help
me out how to go about compiling the example code ? Is there a document
that explains the steps for compiling the example source code ? Please
let me know. Following is the error I am getting while trying to compile
HelloWorldExample.java:



javac HelloWorldExample.java
----------
1. ERROR in HelloWorldExample.java
 (at line 14)
        private static RuleBase readRule() throws Exception {
                       ^^^^^^^^
RuleBase cannot be resolved to a type


CLASSPATH=.:/home/dnv/smc/PolicyMgmt/drools-examples/src/main/java:
$JAVALIB/org/drools:/usr/local/bin/jdk1.5.0_04:$JAVALIB:
$JAVALIB/antlr-2.7.6.jar:$JAVALIB/antlr-3.0ea8.jar:
$JAVALIB/commons-collections-3.1.jar:$JAVALIB/commons-io-1.1.jar:
$JAVALIB/commons-jci-core-1.0-406301.jar:
$JAVALIB/commons-jci-eclipse-3.2.0.666.jar:
$JAVALIB/commons-jci-janino-2.4.3.jar:$JAVALIB/commons-lang-2.1.jar:
$JAVALIB/commons-logging-api-1.0.4.jar:$JAVALIB/core-3.2.0.666.jar:
$JAVALIB/janino-2.4.3.jar:$JAVALIB/jsr94-1.1.jar:
$JAVALIB/junit-3.8.1.jar:$JAVALIB/jxl-2.4.2.jar:
$JAVALIB/stringtemplate-2.3b6.jar:$JAVALIB/xml-apis-1.0.b2.jar:
$JAVALIB/xpp3-1.1.3.4.O.jar:
$JAVALIB/xstream-1.1.3.jar:/home/dnv/smc/PolicyMgmt/plugins/org.drools.ide_3.0.5.jar

Thanks,
Venkatesh




The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com



More information about the rules-users mailing list