【解决】camunda部署流程报错should point to a running platform rest api

问题

camunda部署流程报错如下:
在这里插入图片描述

当把url改为 http://localhost:8080/rest 时还是会报错如上。

解决方法

pom.xml文件中要包含如下依赖:

<!--        web界面模块-->
        <dependency>
            <groupId>org.camunda.bpm.springboot</groupId>
            <artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
            <version>2.3.0-alpha1</version>
        </dependency>
<!--        rest服务接口-->
        <dependency>
            <groupId>org.camunda.bpm.springboot</groupId>
            <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
            <version>2.3.0-alpha1</version>
        </dependency>

使用camunda流程引擎、web界面、Rest服务接口相应依赖如下:

  • 流程引擎:camunda-bpm-spring-boot-starter

  • Rest服务接口:camunda-bpm-spring-boot-starter-rest

  • web界面模块:camunda-bpm-spring-boot-starter-webapp

流程引擎的部署和app的部署是两个完全不一样的东西。

camunda-bpm-spring-boot-starter-rest默认的是rest ,不是engine-rest。所以 rest endpoint 应该填http://localhost:8080/rest。在这里插入图片描述

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值