Hello,
I’m running Camunda as a spring boot application and I have deployed a process with a message catch event.
When I try to make a Rest api POST call using Postman the response is:
Other POST requests like http://localhost:8080/rest/task/:{id}/claim do not work either.
However GET Requests work perfectly fine.
Authorization is not neglected, so no mistake on this end.
My properties look like this:
spring.application.name=SomeName
camunda.bpm.admin-user.id=id
camunda.bpm.admin-user.password=pw123
camunda.bpm.admin-user.firstName=Admin1
camunda.bpm.filter.create=show all
spring.jersey.application-path=/rest
camunda.bpm.webapp.application-path=/
The Dependencies of my spring boot application are:
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web-services'
implementation 'org.springframework.boot:spring-boot-starter-mail:2.5.6'
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.16.0'
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp:7.16.0'
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest:7.16.0'
implementation 'org.camunda.bpm.extension.springboot.gradle:camunda-bpm-spring-boot-webjar-gradle-plugin:2.2.0'
implementation 'org.camunda.bpm.webapp:camunda-webapp-webjar:7.16.0'
testImplementation 'org.camunda.bpm:camunda-bom:7.16.0'
//Logger
annotationProcessor 'org.projectlombok:lombok:1.18.22'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
implementation 'org.projectlombok:lombok:1.18.22'
implementation 'org.slf4j:slf4j-api:1.7.30'
//Custom Rest
implementation 'io.springfox:springfox-boot-starter:3.0.0'
implementation 'org.apache.httpcomponents:httpclient:4.5.10'
//Database
implementation 'org.postgresql:postgresql:42.3.1'
implementation 'com.h2database:h2'
implementation 'com.sun.activation:javax.activation:1.2.0'
implementation "jakarta.xml.bind:jakarta.xml.bind-api:2.3.2"
implementation "org.glassfish.jaxb:jaxb-runtime:2.3.2"
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
// https://mvnrepository.com/artifact/ch.qos.logback/logback-classic
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
testImplementation 'ch.qos.logback:logback-core:1.2.3'
}
What is need to be done so I can make POST requests ?