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

venkatesh devalapura nagabhushana venkatesh.nag at wipro.com
Fri Feb 16 05:20:30 EST 2007


hi,

I was trying to compile the example code that is provided with Jboss
Rules - HelloWorldExample.java using javac. I got following errors even
though i included the jar files in the class path, please let me know
how to go about compiling the example:

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

ERROR in HelloWorldExample.java
 (at line 43)
        final PackageBuilder builder = new PackageBuilder();
                                           ^^^^^^^^^^^^^^
PackageBuilder cannot be resolved to a type
----------
7. ERROR in HelloWorldExample.java
 (at line 56)
        final RuleBase ruleBase = RuleBaseFactory.newRuleBase();
              ^^^^^^^^
RuleBase cannot be resolved to a type


- 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