Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added uses statements to module-info.java #172

Closed
dkkopp opened this issue Jan 3, 2022 · 1 comment
Closed

Added uses statements to module-info.java #172

dkkopp opened this issue Jan 3, 2022 · 1 comment

Comments

@dkkopp
Copy link

dkkopp commented Jan 3, 2022

Currently, the beans validation API is failing at runtime for me when I attempt to use it with the Java Module System. The runtime complains that the beans validation module-info does not contain a "uses" clause.

To fix this, please add the following to module-info.java:

uses jakarta.validation.spi.BootstrapState;
uses jakarta.validation.spi.ConfigurationState;
uses jakarta.validation.spi.ValidationProvider;

I have tried this on my machine, and it works.

Thank you.

@starksm64
Copy link
Contributor

Resolved via #173

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants