1 Reply Latest reply on May 16, 2013 6:20 PM by Mauricio Salatino

    JBMP web app --java.lang.NoClassDefFoundError: org/drools/builder/KnowledgeBuilderFactory

    Santiago Sanchez Newbie

      Hola

      Estoy empezando con JBPM y DROOL he realizado varios ejemplos en una aplicación de escritorio y todo funciona bien el problema es cuando la quiero llevar a una  aplicación web (en este caso estoy utilizando ZK Framework), pero al momento de ejecutarla me salta el siguiente error:

       

      16:51:29,957 GRAVE [org.zkoss] (http-localhost-127.0.0.1-8083-4) >>java.lang.NoClassDefFoundError: org/drools/builder/KnowledgeBuilderFactory

      at com.sample.Main.readKnowledgeBase2(Main.java:36)
      at com.sample.Main.EjecutarProceso2(Main.java:21)
      at com.zkdrool.controller.Index.onClick$btn_next(Index.java:23)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.zkoss.zk.ui.event.GenericEventListener.onEvent(GenericEventListener.java:82)
      at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2742)
      at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2713)
      at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2654)
      at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
      at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:325)
      at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:348)
      at org.zkoss.zk.ui.AbstractComponent$ForwardListener.onEvent(AbstractComponent.java:3180)
      at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2742)
      at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2713)
      at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2654)
      at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
      at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1717)
      at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1502)
      at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1212)
      at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:600)
      at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:482)
      at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:491)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
      at java.lang.Thread.run(Thread.java:662)