[jboss-user] [jBPM Users] - Error while creating process
TejJBPM
do-not-reply at jboss.com
Mon Nov 16 08:33:22 EST 2009
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)
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265856#4265856
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265856
More information about the jboss-user
mailing list