AnsweredAssumed Answered

Resource not found exception

Question asked by arno1 on Apr 5, 2011
Latest reply on Jan 20, 2016 by sunitanayak83
Hi,
I programmed the example given in documentation (10 minute tutorial). But an exception occured, i do not know how to solve it:
The exception occured at this position:

Programcode:
// Deploy the process definition
    repositoryService.createDeployment()
      .addClasspathResource("C:\\FinancialReportProcess.bpmn20.xml")
      .deploy();

   

Exception:
Exception in thread "main" org.activiti.engine.ActivitiException: resource 'C:\FinancialReportProcess.bpmn20.xml' not found
   at org.activiti.engine.impl.repository.DeploymentBuilderImpl.addClasspathResource(DeploymentBuilderImpl.java:56)
   at TenMinuteTutorial.main(TenMinuteTutorial.java:22)


I do not know where there occurs an NotFoundException, the file is located at C:\. I've tried it by using some different locations - same result, so thats no matter of user rights.

Can anybody help me?

Outcomes