[rules-users] Drools web project in eclipse - Drools Library issue

Fernando Meyer fmcamargo at gmail.com
Wed Oct 3 20:01:42 EDT 2007


Hi,

You can check the drools insurance example
http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-examples/drools-insurance/

Regards

On 10/3/07, Malika <nu_age_gal at yahoo.com> wrote:
>
>
> Hello,
>
> I started to write web app using drools decision table. Here is what I
> have
> in my web project in eclipse 3.3,
> drools 4.0:
>
> 1. A Jsp page that takes input and pass it on to a servlet that fires the
> rules.
> 2. Servlet class has import statements:
> import org.drools.RuleBase;
> import org.drools.RuleBaseFactory;
> import org.drools.StatefulSession;
> import org.drools.StatelessSession;
> import org.drools.WorkingMemory; and so on..
> 3. When I run the jsp on tomcat, it starts but when i hit submit it throws
> the exception:
>
> java.lang.NoClassDefFoundError: org/drools/RuleBase
>
> 4. I have drools jar files added under project properties - build path->
> add
> external jars from
>
> "C:\wtp_all_in_one\eclipse\configuration\org.eclipse.osgi\bundles\503\1\.cp\lib".
> This is showing all drools jar files under Libraries hierarchy.
>
> Could anyone please suggest what to do to resolve this error?
>
> Thanks and Regards,
> Malika
>
>
> --
> View this message in context:
> http://www.nabble.com/Drools-web-project-in-eclipse---Drools-Library-issue-tf4564565.html#a13028564
> Sent from the drools - user mailing list archive at Nabble.com.
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
Fernando Meyer http://fmeyer.org
JBoss Rules Core Developer
fmcamargo at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071003/52246c06/attachment.html 


More information about the rules-users mailing list