You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2021/12/31 09:15:34 UTC
[GitHub] [incubator-inlong] liaorui opened a new issue #2089: [Bug]tubemq-manager throws error when starting: java.lang.ClassNotFoundException: javax.validation.ClockProvider
liaorui opened a new issue #2089:
URL: https://github.com/apache/incubator-inlong/issues/2089
### What happened
when start `tubemq-manager`, an error throws: Caused by: java.lang.ClassNotFoundException: javax.validation.ClockProvider
<img width="1545" alt="image" src="https://user-images.githubusercontent.com/2731242/147813820-3cd7fc0a-de4e-4323-81c9-addc4859ebcb.png">
### What you expected to happen
Forgive me,I have a PR three days ago, and the PR is merged to master. [issue#2064](https://github.com/apache/incubator-inlong/issues/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.
<img width="1542" alt="image" src="https://user-images.githubusercontent.com/2731242/147814319-dded856b-f08d-4358-8058-913b4f930571.png">
### How to reproduce
use `javax.validation:validation-api:1.1.0.Final` in `inlong-tubemq-manager/lib`,then start tubemq-manager, an error throwed:
<img width="1545" alt="image" src="https://user-images.githubusercontent.com/2731242/147813820-3cd7fc0a-de4e-4323-81c9-addc4859ebcb.png">
### Environment
_No response_
### InLong version
master
### InLong Component
InLong TubeMQ
### Are you willing to submit PR?
- [X] Yes, I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-inlong] dockerzhang closed issue #2089: [Bug]tubemq-manager throws error when starting: java.lang.ClassNotFoundException: javax.validation.ClockProvider
Posted by GitBox <gi...@apache.org>.
dockerzhang closed issue #2089:
URL: https://github.com/apache/incubator-inlong/issues/2089
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org