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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to