0 Replies Latest reply on Nov 16, 2009 8:33 AM by Tej jbpm

    Error while creating process

    Tej jbpm Novice

      Hi all

      I have been trying the hello world example in http://www.jorambarrez.be/blog/2009/07/01/jbpm4-hello-world

      I have configured and when I run the main class which just prints a hello world message..I get this exception..Can anybody guide me what could be wrong..? thanks in advance..

      org.jbpm.api.JbpmException: couldn't instantiate configuration of type org.jbpm.pvm.internal.cfg.ProcessEngineImpl
       org.jbpm.api.Configuration.instantiate(Configuration.java:92)
       org.jbpm.api.Configuration.<init>(Configuration.java:62)
       org.jbpm.api.Configuration.<init>(Configuration.java:51)
       be.jorambarrez.jbpm4.helloworld.Main.doGet(Main.java:31)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      
      
      root cause
      
      java.lang.ClassCastException: org.jbpm.pvm.internal.cfg.ProcessEngineImpl cannot be cast to org.jbpm.api.Configuration
       org.jbpm.api.Configuration.instantiate(Configuration.java:90)
       org.jbpm.api.Configuration.<init>(Configuration.java:62)
       org.jbpm.api.Configuration.<init>(Configuration.java:51)
       be.jorambarrez.jbpm4.helloworld.Main.doGet(Main.java:31)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)