Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/linq/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot 为什么调用camunda rest api时出现404错误_Spring Boot_Camunda - Fatal编程技术网

Spring boot 为什么调用camunda rest api时出现404错误

Spring boot 为什么调用camunda rest api时出现404错误,spring-boot,camunda,Spring Boot,Camunda,使用此url调用camunda的rest引擎api时 得到 我得了404分。你能帮我找出我遗漏了什么吗 同样的道理: 我已将RESTAPI依赖项添加到pom中 <dependency> <groupId>org.camunda.bpm.springboot</groupId> <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId> </depen

使用此url调用camunda的rest引擎api时

得到

我得了404分。你能帮我找出我遗漏了什么吗

同样的道理:

我已将RESTAPI依赖项添加到pom中

<dependency>
    <groupId>org.camunda.bpm.springboot</groupId>
    <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
</dependency>

感谢您的帮助

我刚刚错过了url中的引擎名称{default}:

添加它解决了我的错误:

http://localhost:8081/orchestrator/rest/engine/default/process-definition/finance-process:1:73c2ea9d-15f7-11e9-9484-00155d076c61/xml
http://localhost:8081/orchestrator/rest/engine/default/process-definition/finance-process:1:73c2ea9d-15f7-11e9-9484-00155d076c61/xml