javax.validation.ValidationException: HV000136: The specified constraint annotation class MyConstraint cannot be loaded.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Zhelyazko Chobantonov, 1 year ago
HV000136: The specified constraint annotation class MyConstraint cannot be loaded.
javax.validation.ValidationException: HV000065: Unable to load class: java.lang.MyConstraint.
at org.hibernate.validator.internal.util.privilegedactions.LoadClass.loadNonValidatorClass(LoadClass.java:100)
at org.hibernate.validator.internal.util.privilegedactions.LoadClass.run(LoadClass.java:53)
at org.hibernate.validator.internal.util.privilegedactions.LoadClass.run(LoadClass.java:29)
at org.hibernate.validator.internal.util.ReflectionHelper.run(ReflectionHelper.java:674)
at org.hibernate.validator.internal.util.ReflectionHelper.loadClass(ReflectionHelper.java:154)
at org.hibernate.validator.internal.util.ReflectionHelper.loadClass(ReflectionHelper.java:186)
at org.hibernate.validator.internal.util.ReflectionHelper.loadClass(ReflectionHelper.java:158)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.