Skip to content

fix: add missing postgresql jdbc driver dependency - #46

Merged
Megueutu merged 1 commit into
qafrom
fix/add-postgresql-driver-dependency
Sep 7, 2026
Merged

Megueutu merged 1 commit into
qafrom
fix/add-postgresql-driver-dependency

Conversation

@Megueutu

@Megueutu Megueutu commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Objetivo

Corrigir o crash do serviço: Cannot load driver class: org.postgresql.Driver. O pom.xml tinha spring-boot-starter-data-jpa e h2 (só para testes), mas nunca teve o driver JDBC real do PostgreSQL — não era um problema de env var, o jar simplesmente não existia no classpath.

Alterações

  • pom.xml: adiciona org.postgresql:postgresql como dependência runtime.

Endpoints afetados

Sem endpoints afetados

Banco de Dados

  • Migration
  • Schema
  • Seed

Como testar

Fazer o deploy e confirmar que o DataSource conecta no Postgres real sem o erro de driver.

Evidências

Sem evidências visuais

Closes #

Copilot AI lite review requested due to automatic review settings September 7, 2026 05:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Megueutu
Megueutu merged commit 0ae1e21 into qa Sep 7, 2026
2 checks passed
@Megueutu
Megueutu deleted the fix/add-postgresql-driver-dependency branch September 7, 2026 05:39
@sonarqubecloud

sonarqubecloud Bot commented Sep 7, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants