As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
import static org.junit.Assert.*; import org.junit.runner.RunWith; import org.junit.Test; import org.activiti.engine.RuntimeService; import org.activiti.engine.test.ActivitiRule; import org.activiti.engine.test.Deployment; import org.junit.Rule; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.ContextConfiguration; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration("classpath:activiti-context.xml") public class HelloTest { @Autowired private RuntimeService runtimeService; @Autowired @Rule public ActivitiRule activitiRule; @Test @Deployment public void simpleProcessTest() { runtimeService.startProcessInstanceByKey("HelloProcessId"); assertEquals(0,0); } }
<br> <property name="deploymentResources"<br> value="classpath*:diagrams/autodeploy.*.bpmn" /><br>
<br>[ERROR] Failed to execute goal on project hello-world-test: Could not resolve dependencies for project org.fbconsult:hello-world-test:jar:1.0: Could not find artifact com.oracle:smileysurprised:jdbc6:jar:11.2.0 at specified path D:\Java\ojdbc6.jar<br>