[jboss-user] [jBPM] - org.jbpm.bpmn.model.BpmnProcessDefinition cannot be cast to org.jbpm.api.ProcessDefinitionImpl
jordi elies
do-not-reply at jboss.com
Mon Apr 26 06:18:29 EDT 2010
jordi elies [http://community.jboss.org/people/jelies] replied to the discussion
"org.jbpm.bpmn.model.BpmnProcessDefinition cannot be cast to org.jbpm.api.ProcessDefinitionImpl"
To view the discussion, visit: http://community.jboss.org/message/539478#539478
--------------------------------------------------------------
Hi Michele,
do you have solved the problem? If not, maybe this will help you, else maybe you could help me :) (you could see my post http://community.jboss.org/thread/151046 here)...
I'm getting a similar error, in the same line, calling the same method... but in my case I'm loading a jpdl.xml and the class cast it's different, throwing a similar error:
java.lang.ClassCastException: org.jbpm.jpdl.internal.model.JpdlProcessDefinition cannot be cast to org.jbpm.pvm.internal.model.ProcessDefinitionImpl
To be more exact, in my code the cast is from JpdlProcessDefinition to *org.jbpm.pvm.internal.model.*ProcessDefinitionImpl, ubicated in a different package from yours. Your package doesn't exist in the jbpm.jar distributable of version 4.3 (I supose this package existed in the version you used).
Any help would be appreciated.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/539478#539478]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100426/cd397426/attachment.html
More information about the jboss-user
mailing list