javax.validation.ConstraintDeclarationException: HV000132: Void methods must not be constrained or marked for cascaded validation, but method public void org.hibernate.validator.test.internal.constraintvalidators.ScriptAssertValidatorTest$CalendarService.createCalendarEvent(java.lang.String,java.util.Date,java.util.Date) is.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Hibernate JIRA by Gunnar Morling, 1 year ago
HV000132: Void methods must not be constrained or marked for cascaded validation, but method public void org.hibernate.validator.test.internal.constraintvalidators.ScriptAssertValidatorTest$CalendarService.createCalendarEvent(java.lang.String,java.util.Date,java.util.Date) is.
via Hibernate JIRA by Gunnar Morling, 1 year ago
HV000132: Void methods must not be constrained or marked for cascaded validation, but method public void org.hibernate.validator.test.internal.constraintvalidators.ScriptAssertValidatorTest$CalendarService.createCalendarEvent(java.lang.String,java.util.Date,java.util.Date) is.
javax.validation.ConstraintDeclarationException: HV000132: Void methods must not be constrained or marked for cascaded validation, but method public void org.hibernate.validator.test.internal.constraintvalidators.ScriptAssertValidatorTest$CalendarService.createCalendarEvent(java.lang.String,java.util.Date,java.util.Date) is.
at org.hibernate.validator.internal.metadata.aggregated.ExecutableMetaData$Builder.checkReturnValueConfiguration(ExecutableMetaData.java:479)
at org.hibernate.validator.internal.metadata.aggregated.ExecutableMetaData$Builder.build(ExecutableMetaData.java:362)
at org.hibernate.validator.internal.metadata.aggregated.BeanMetaDataImpl$BuilderDelegate.build(BeanMetaDataImpl.java:601)
at org.hibernate.validator.internal.metadata.aggregated.BeanMetaDataImpl$BeanMetaDataBuilder.build(BeanMetaDataImpl.java:508)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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