Skip to content

Hibernate 6 upgrade: Warning about missing Bean Validation provider #16502

Closed

Description

@ahus1

Before reporting an issue

  • I have searched existing issues
  • I have reproduced the issue with the latest release

Area

storage

Describe the bug

When starting the model tests with Hibernate 6, there is an exception in the log as the following:

12:02:15,914 INFO [org.hibernate.cfg.beanvalidation.TypeSafeActivator] (main) Error calling jakarta.validation.Validation#buildDefaultValidatorFactory
jakarta.validation.NoProviderFoundException: Unable to create a Configuration, because no Jakarta Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath.

Version

nightly, Quarkus 3 Branch

Expected behavior

No warning should appear

Actual behavior

Warning appears

How to Reproduce?

Run a model test, for example ClientModelTest (happens in LegacyJpa and JpaMapStorage)

Anything else?

No response

Activity

  1. added
    kind/bug
    on Jan 17, 2023
  2. ghost added
    area/storage
    on Jan 17, 2023
  3. self-assigned this
    on Jan 17, 2023
  4. moved this from 📤 Todo to 👀 In Progress in Storageon Jan 17, 2023
  5. added a commit that references this issue on Jan 18, 2023
    8a7a8ba
  6. added a commit that references this issue on Jan 19, 2023
    6f1cd01
  7. ahus1 commented on Jan 19, 2023

    @ahus1
    MemberAuthor

    PR merged to feature branch.

  8. moved this from 👀 In Progress to ✅ Done in Storageon Jan 19, 2023
  9. added a commit that references this issue on Jan 20, 2023
    44efe00
  10. 13 remaining items

  11. added a commit that references this issue on Mar 24, 2023
    44bdaa5
  12. added a commit that references this issue on Mar 31, 2023
    fbed4bb
  13. added a commit that references this issue on Apr 24, 2023
    36b7f13
  14. added a commit that references this issue on Apr 27, 2023
    33e2bcd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/storagekind/bug

Type

No type

Fields

No fields configured for issues without a type.

Projects

  • Status
    ✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions