You can't create process definitions programmatically this way anymore. Create a
process definition and deploy it afterwards.
You need to reference jbpm.jar and the main-folder and all the jars in the lib-subfolder.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268929#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...