javax.validation.ValidationException: A group has to be an interface. <class.name> is not.

Hibernate JIRA | Vladislav Pernin | 6 years ago
  1. 0

    Bean Validation with CXF in OSGI context using Hibernate Implementation

    Stack Overflow | 2 years ago
    org.osgi.service.blueprint.container.ComponentDefinitionException: Error when instantiating bean validationProvider of class class org.apache.cxf.validation.BeanValidationProvider
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    The validation provider support seems to perhaps not be in working condition

    servicemix-users | 12 months ago | Benson Margulies
    javax.validation.ValidationException: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath.
  4. 0

    Error creating bean with name 'serverProperties' defined in class path resource ServerPropertiesAutoConfiguration.class

    Stack Overflow | 9 months ago | user3520025
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is javax.validation.ValidationException: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.validation.ValidationException

      A group has to be an interface. <class.name> is not.

      at org.hibernate.validator.engine.groups.GroupChainGenerator.getGroupChainFor()
    2. Embedded GlassFish Web
      GroupChainGenerator.getGroupChainFor
      1. org.hibernate.validator.engine.groups.GroupChainGenerator.getGroupChainFor(GroupChainGenerator.java:52)
      1 frame
    3. Vaadin
      ValidatorImpl.validate
      1. org.hibernate.validator.engine.ValidatorImpl.determineGroupExecutionOrder(ValidatorImpl.java:176)
      2. org.hibernate.validator.engine.ValidatorImpl.validate(ValidatorImpl.java:113)
      2 frames