5 Replies Latest reply on Nov 14, 2007 7:45 AM by Ronald van Kuijk


    Javit Gellaw Newbie

      Hi anyone,
      i am trying to deploy a simple processDefinition by programmatically. But i got a problem.
      My processDefinition looks like this.

      <?xml version="1.0" encoding="UTF-8"?><process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="DecisionProcess">

      <start-state name="start">

      <task-node name="Request">

      <task-node name="Checking">

      <end-state name="End"/>


      And hier is my Java Code.package com.test;

      import org.jbpm.JbpmConfiguration;
      import org.jbpm.JbpmContext;
      import org.jbpm.graph.def.ProcessDefinition;

      public class DeployingTest {
      public static void main(String[] args) {

      JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
      ProcessDefinition prd = ProcessDefinition.parseXmlResource("DecisionProcess/processdefinition.xml");
      JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
      System.out.println("!!!=== Not Null");
      System.out.println("!!!=== Null");
      }catch (Exception e) {
      // TODO: handle exception
      System.err.println("Which error?: " +e);


      When i try this i got this Exceptions:
      org.hibernate.MappingNotFoundException: resource: org/jbpm/msg/Message.hbm.xml not found