Hi, <br>an other question , when i'm trying to execute the same code in the sample test java file provided by the wizard, I get some other errors :<br><br>java.lang.NoClassDefFoundError: org/drools/WorkingMemory<br> at
java.lang.Class.getDeclaredConstructors0(Native Method)<br> at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)<br> at java.lang.Class.getConstructor0(Unknown Source)<br> at java.lang.Class.newInstance0
(Unknown Source)<br> at java.lang.Class.newInstance(Unknown Source)<br> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104)<br> at org.apache.catalina.core.StandardWrapper.allocate(
StandardWrapper.java:806)<br> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)<br> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)<br> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)<br> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)<br> at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)<br> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)<br> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)<br> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
(Http11Protocol.java:581)<br> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)<br> at java.lang.Thread.run(Unknown Source)<br><br><br>it works if i'm using a simple class, but when i try to use my servlet, it falls;
<br><br>and finally, is it possible to contribute withe a tutorial showing how to set up drools on eclipse and running a DroolsTest sample file,(arabic, english and frensh version) that's all i can propose for the moment.
<br><br>thank you. <br><br><br><br><br><br><br><div><span class="gmail_quote">2007/7/20, Mohammed JBossRules <<a href="mailto:jboss.lakehayli@gmail.com">jboss.lakehayli@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hello,<br>Thank you all for your replays; as you've suggested, what i should<br>import into my build path was not the core and compiler but all the set<br>contained in the drools library, maybe that would help someone later!
<br>here is the list of jars<br>antlr-runtime.jar<br>drools-compiler.jar<br>drools-core.jar<br>drools-decisiontables.jar<br>drools-documentation.jar<br>drools-jsr94.jar<br>jsr94.jar<br>junit.jar<br>jxl.jar<br>mvel14.jar<br>
xercesImpl.jar<br>xml-apis.jar<br>xpp3.jar<br>xstream.jar<br>Thankyou Mark for the link<br>with kind regards,<br><br>ps: tried many times to post this mail yesterday but seems that it<br>doesn't work, sorry if you received it more than once!
<br>Mohammed JBossRules wrote:<br>> Hello,<br>><br>> I'm a new user for JBossRules, and I'm feeling like turning around<br>> since a while, so i thought that sole body could help...<br>> I'm using JBossRules(
V4.0.0.12865MR3) on eclipse (Version: 3.3.0 Build<br>> id: I20070621-1340) on MS-Windows XP and Java(TM) SE Runtime<br>> Environment (build 1.6.0_01-b06)<br>> now the problem is how to use my rules (simple rules in a DRL file) in
<br>> a dynamic project based on JSP/Servlets...<br>> i've imported the compiler, the core, jsr94, decisiontable, and also<br>> the core 3.2.3 jars to my build path , but when i try to execute the<br>> same code i'm having errors like:
<br>> The import org.drools cannot be resolved<br>> but i have imported the core!!<br>> what's wrong? help please<br>><br>> regards<br>> _______________________________________________<br>> rules-users mailing list
<br>> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>>
<br><br></blockquote></div><br>