javax.validation.ValidationException: Unable to find a default provider

Oracle Community | daniil_k | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    glassfishv 3.1 + ibm-jdk-powerpc + create jdbc connection pool  (sorry I am ...)

    Oracle Community | 6 years ago | daniil_k
    javax.validation.ValidationException: Unable to find a default provider
  2. 0

    ValidationException when @Autowired-ing a DAO

    Stack Overflow | 5 years ago | xybrek
    javax.validation.ValidationException: Unable to find a default provider
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Using JSR-303 with custom validation

    Stack Overflow | 5 years ago | dma_k
    javax.validation.ValidationException: Unable to find a default provider
  5. 0

    SpringMvc - javax.validation.ValidationException

    Stack Overflow | 5 years ago | devdar
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0': Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider
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

    Unable to find a default provider

    at javax.validation.Validation$GenericBootstrapImpl.configure()
  2. JavaEE 7
    Validation$GenericBootstrapImpl.configure
    1. javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264)
    1 frame
  3. Connectors Runtime
    ConnectorRuntime.pingConnectionPool
    1. com.sun.enterprise.connectors.util.ConnectorJavaBeanValidator.getBeanValidator(ConnectorJavaBeanValidator.java:109)
    2. com.sun.enterprise.connectors.util.ConnectorJavaBeanValidator.validateJavaBean(ConnectorJavaBeanValidator.java:64)
    3. com.sun.enterprise.connectors.ActiveOutboundResourceAdapter.init(ActiveOutboundResourceAdapter.java:118)
    4. com.sun.enterprise.connectors.ActiveRAFactory.instantiateActiveResourceAdapter(ActiveRAFactory.java:135)
    5. com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:106)
    6. com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:212)
    7. com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:348)
    8. com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:356)
    9. com.sun.enterprise.connectors.service.ConnectorService.loadDeferredResourceAdapter(ConnectorService.java:183)
    10. com.sun.enterprise.connectors.service.ConnectorService.loadResourcesAndItsRar(ConnectorService.java:147)
    11. com.sun.enterprise.connectors.service.ConnectorService.checkAndLoadPool(ConnectorService.java:324)
    12. com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:634)
    13. com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.testConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:427)
    14. com.sun.enterprise.connectors.ConnectorRuntime.pingConnectionPool(ConnectorRuntime.java:1110)
    14 frames
  4. Embedded GlassFish Web
    PingConnectionPool.execute
    1. org.glassfish.connectors.admin.cli.PingConnectionPool.execute(PingConnectionPool.java:130)
    1 frame
  5. Kernel Classes
    CommandRunnerImpl$ExecutionContext.execute
    1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:360)
    2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
    3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
    4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
    5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
    6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
    6 frames
  6. Embedded GlassFish Web
    CreateJdbcConnectionPool.execute
    1. org.glassfish.jdbc.admin.cli.CreateJdbcConnectionPool.execute(CreateJdbcConnectionPool.java:276)
    1 frame
  7. Kernel Classes
    AdminAdapter.service
    1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
    2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
    3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
    4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
    5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
    6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
    7. com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
    8. com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
    8 frames
  8. Grizzly WS
    GrizzlyAdapter.service
    1. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
    1 frame
  9. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
    2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
    2 frames
  10. Grizzly WS
    AbstractThreadPool$Worker.run
    1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
    2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
    3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
    4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
    5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    13 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:736)
    1 frame