Error setting driver on UnpooledDataSource

Hi

Im facing this error on my camunda setup:

2024-03-21 17:00:39,231 [http-nio-8084-exec-4] o.c.b.e.cfg ERROR - ENGINE-12012 Exception on accessing the database connection: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: org.h2.Driver
2024-03-21 17:00:42,328 [http-nio-8084-exec-4] o.c.b.e.context ERROR - ENGINE-16004 Exception while closing command context: ENGINE-03018 Could not check if tables are already present using metadata.

For context im running embeded camunda 7.17 with spring boot integration.
Following is my spring boot application configuration:

spring:
  application:
    name: test
  datasource:
    name: workflow
    url: jdbc:postgresql://localhost:5432/test
    username: postgres
    password: docker
    hikari:
      auto-commit: false

camunda:
  bpm:
    admin-user:
      id: Admin
      password: admin
      first-name: Admin account
    database:
      schema-update: true
      type: postgres
    default-serialization-format: application/json
    generic-properties:
      properties:
        deploy-changed-only: true # If true, only resources that have changed become part of the deployment.
    history-level: FULL
    eventing:
      execution: true
      history: false
      task: false
    webapp:
      index-redirect-enabled: true

im not sure why camunda its complaining on h2 database driver because im using PostgreSQL

Facing the same issue while using test containers with postgresql

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