Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Bug]tubemq-manager throws error when starting: java.lang.ClassNotFoundException: javax.validation.ClockProvider #2089

Closed
2 tasks done
liaorui opened this issue Dec 31, 2021 · 0 comments · Fixed by #2090
Closed
2 tasks done
Assignees
Labels
type/bug Something is wrong
Milestone

Comments

@liaorui
Copy link
Contributor

liaorui commented Dec 31, 2021

What happened

when start tubemq-manager, an error throws: Caused by: java.lang.ClassNotFoundException: javax.validation.ClockProvider

image

What you expected to happen

Forgive me,I have a PR three days ago, and the PR is merged to master. issue#2064

This PR is not perfect,only solved the compile error, but not tubemq-manager's running error.

javax.validation:validation-api:1.1.0.Final provides javax.validation.constraints.SIZE and javax.validation.constraints.NotNull,but it doesn't provides javax.validation.ClockProvider.

jakarta.validation:jakarta.validation-api:2.0.2 can do all.

I also check the jakarta.validation:jakarta.validation-api:2.0.2 by starting tubemq-manager, it works.

image

How to reproduce

use javax.validation:validation-api:1.1.0.Final in inlong-tubemq-manager/lib,then start tubemq-manager, an error throwed:

image

Environment

No response

InLong version

master

InLong Component

InLong TubeMQ

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is wrong
Projects
None yet
2 participants