1 Reply Latest reply on Apr 7, 2010 7:51 PM by Johanna Voxy

    Can I use drool rules with servlet?

    Avi 007 Newbie

      Hi folk,

      I made a decision table using excel and called it using simple java class,its ran well but while trying to call it from servlet i am getting following error:

      java.lang.NoClassDefFoundError: org/drools/WorkingMemory
      java.lang.Class.getDeclaredConstructors0(Native Method)
      java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
      java.lang.Class.getConstructor0(Class.java:2699)
      java.lang.Class.newInstance0(Class.java:326)
      java.lang.Class.newInstance(Class.java:308)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      java.lang.Thread.run(Thread.java:619)



      Can't I call Drools rules from servlet class ?

      Regards
      Avi