Error while launching spring boot app

I have posted a question [here] on SO.(Camunda with Spring boot: Error creating bean with name 'camundaIntegrationDeterminator' - Stack Overflow)

Basically, while trying to launch spring boot app with camunda integrated, I get error

One of the attributes 'class', 'delegateExpression', 'type', or 'expression' is mandatory on serviceTask.

I am not sure what’s causing it.

Hi @mghildiy
I tried to deploy and start the bpmn file and it works fine.
I also tried to run the springboot client and it works fine.
My zeebe and spring-boot-starter-camunda version both are 8.5.1.

But I dont see any dependency for zeebee or spring-bootpstarter-camunda in pom I mentioned in question. I have dependencies for camunda-bpm-spring-boot-starter-rest and camunda-bpm-spring-boot-starter-webapp though, and I guess they inherit their verison from camunda-bom which is 7.22.0 in pom.

I just used the coordinate

<dependency>
    <groupId>io.camunda.spring</groupId>
    <artifactId>spring-boot-starter-camunda</artifactId>
    <version>8.5.1</version>
</dependency>

OK, so this is in addition to existing dependencies. Thanks. I would try with this.

You may need to add the following information to your pom.xml

<repositories>
    <repository>
        <releases>
            <enabled>true</enabled>
        </releases>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
        <id>identity</id>
        <name>Camunda Identity</name>
        <url>https://artifacts.camunda.com/artifactory/camunda-identity/</url>
    </repository>
</repositories>
1 Like

Hi @i.m.superman ,

what is your application.yaml for this. Mine is:

spring.datasource.url: jdbc:h2:file:./camunda-h2-database
server.port: 8081

camunda.bpm.admin-user:
  id: admin
  password: admin

camunda:
  bpm:
    generic-properties:
      properties:
        historyTimeToLive: P1D

With this setup, I get error:

io.camunda.zeebe.client.api.command.ClientStatusException: io exception
	at io.camunda.zeebe.client.impl.ZeebeClientFutureImpl.transformExecutionException(ZeebeClientFutureImpl.java:116) ~[zeebe-client-java-8.5.0.jar:8.5.0]
	at io.camunda.zeebe.client.impl.ZeebeClientFutureImpl.join(ZeebeClientFutureImpl.java:54) ~[zeebe-client-java-8.5.0.jar:8.5.0]

This is my property file.

camunda.client.mode=simple
camunda.client.optimize.enabled=false
camunda.client.identity.enabled=false
camunda.client.auth.username=
camunda.client.auth.password=
camunda.client.zeebe.enabled=true
camunda.client.zeebe.gateway-url=http://10.10.11.14:26500
camunda.client.zeebe.prefer-rest-over-grpc=false
camunda.client.operate.enabled=false
camunda.client.tasklist.enabled=false

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.