为什么我在调用 camunda rest 时出现 404 错误 api
Why i am getting 404 error when calling camunda rest api
当调用 camunda 的 rest 引擎 api unsing this url
我收到 404。你能帮我找出我遗漏了什么吗?
我已将其余 api 依赖项添加到我的 pom
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
</dependency>
直接调用引擎时,我得到了资源:
当使用 spring 引导执行器检查映射的 url 时,我找不到 /engine-rest,所以我肯定在配置中遗漏了一些东西。
呼叫http://localhost:8081/orchestrator/rest/engine
return
[
{
"name": "default"
}
]
谢谢你的帮助
我只是在 url 中错过了引擎名称 {default} :
添加它解决了我的错误:
http://localhost:8081/orchestrator/rest/engine/default/process-definition/finance-process:1:73c2ea9d-15f7-11e9-9484-00155d076c61/xml
当调用 camunda 的 rest 引擎 api unsing this url
我收到 404。你能帮我找出我遗漏了什么吗?
我已将其余 api 依赖项添加到我的 pom
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
</dependency>
直接调用引擎时,我得到了资源:
当使用 spring 引导执行器检查映射的 url 时,我找不到 /engine-rest,所以我肯定在配置中遗漏了一些东西。
呼叫http://localhost:8081/orchestrator/rest/engine return
[
{
"name": "default"
}
]
谢谢你的帮助
我只是在 url 中错过了引擎名称 {default} :
添加它解决了我的错误:
http://localhost:8081/orchestrator/rest/engine/default/process-definition/finance-process:1:73c2ea9d-15f7-11e9-9484-00155d076c61/xml