VMware Cloud Community
pengpengw
VMware Employee
VMware Employee
Jump to solution

com.vmware.ops.api.client.Client: javax.validation.NoProviderFoundException:

Hi

I am trying to develop my first Adapter in eclipse. And when I test the API of getResource(), i get an error, the error message as below:

 

javax.validation.NoProviderFoundException: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath. 

 

But the hibernate-validator is already in my classpath, I have try to change the version of hibernate-validator, it didn't work. Can someone help me? Thanks

pengpengw_0-1622538173661.png

 

image.png

 

 

Labels (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
pengpengw
VMware Employee
VMware Employee
Jump to solution

Upgrade the hibernate-validator to 6.0.19

View solution in original post

Reply
0 Kudos
1 Reply
pengpengw
VMware Employee
VMware Employee
Jump to solution

Upgrade the hibernate-validator to 6.0.19

Reply
0 Kudos