AnsweredAssumed Answered

@Deployment(resources = {'

Question asked by campa on Jun 9, 2011
Latest reply on Jun 10, 2011 by campa
Hi guys,

I have


@Test
  @Deployment(resources = {"/diagrams/ControlloCrediti.GestioneSolleciti.CicloSollecito.bpmn20.xml"})
  public void simpleProcessTest() {

I obtain:

org.activiti.engine.ActivitiException: resource '/diagrams/ControlloCrediti.GestioneSolleciti.CicloSollecito.bpmn20.xml' not found
   at org.activiti.engine.impl.repository.DeploymentBuilderImpl.addClasspathResource(DeploymentBuilderImpl.java:58)

If I check in the classapth with:
getClass().getResource("/diagrams/ControlloCrediti.GestioneSolleciti.CicloSollecito.bpmn20.xml")
Ii find the resource , successfully .

What I need to do, How I'm in error ? Do you see.
Any Help ?

Thx in advance for the help and for the "activiti system" !!

Bye

Outcomes