Your classpath does not contain drools jars.
drools-core-<version>.jar
drools-compiler-<version>.jar
On 2/16/07, venkatesh devalapura nagabhushana <venkatesh.nag(a)wipro.com>
wrote:
Thanks for response, following is my classpath setting, could you please
tell me what i am missing ?
$ echo $CLASSPATH
/usr/local/bin/jdk1.5.0_04:
/home/dnv/smc/PolicyMgmt/lib:
/home/dnv/smc/PolicyMgmt/lib/antlr-2.7.6.jar:
/home/dnv/smc/PolicyMgmt/lib/antlr-3.0ea8.jar:
/home/dnv/smc/PolicyMgmt/lib/commons-collections-3.1.jar:
/home/dnv/smc/PolicyMgmt/lib/commons-io-1.1.jar:
/home/dnv/smc/PolicyMgmt/lib/commons-jci-core-1.0-406301.jar:
/home/dnv/smc/PolicyMgmt/lib/commons-jci-eclipse-3.2.0.666.jar:
/home/dnv/smc/PolicyMgmt/lib/commons-jci-janino-2.4.3.jar:
/home/dnv/smc/PolicyMgmt/lib/commons-lang-2.1.jar:
/home/dnv/smc/PolicyMgmt/lib/commons-logging-api-1.0.4.jar:
/home/dnv/smc/PolicyMgmt/lib/core-3.2.0.666.jar:/janino-2.4.3.jar:
/home/dnv/smc/PolicyMgmt/lib/jsr94-1.1.jar:
/home/dnv/smc/PolicyMgmt/lib/junit-3.8.1.jar:
/home/dnv/smc/PolicyMgmt/lib/jxl-2.4.2.jar:
/home/dnv/smc/PolicyMgmt/lib/stringtemplate-2.3b6.jar:
/home/dnv/smc/PolicyMgmt/lib/xml-apis-1.0.b2.jar:
/home/dnv/smc/PolicyMgmt/lib/xpp3-1.1.3.4.O.jar:
/home/dnv/smc/PolicyMgmt/lib/xstream-1.1.3.jar:
/home/dnv/smc/PolicyMgmt/plugins/org.drools.ide_3.0.5.jar
Thanks,
Venkatesh
On Fri, 2007-02-16 at 16:15 +0530, sumedha rubasinghe wrote:
> looks like missing library problem to me....
>
> On 2/16/07, venkatesh devalapura nagabhushana
> <venkatesh.nag(a)wipro.com> wrote:
>
> 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
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
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
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users