1 Reply Latest reply on Jun 15, 2011 11:00 AM by Chris Melas

    'sample.bpmn' cannot be opened because it does not exist

    Andy R. Newbie

      Hello Collegues,

       

      I just tried to implement a very basic jbpm5-functionality in a web-application. I want to create a "sample"-process and later on save it. The problem is now that although the sample-bpmn-file is in the same directory as my Action-Servlet, it cannot be found.

       

      Is this command correct: ?

       

        Resource res = ResourceFactory.newClassPathResource("sample.bpmn");

       

      Where does "newClassPathResource" start looking for the specified file ?