java.lang.RuntimeException: com.google.inject.CreationException: Guice creation errors: 1) No implementation for java.util.Optional<java.lang.Boolean> annotated with @Config(value=AsyncHttpClientConfigProvider.allowPoolingConnection) was bound. while locating java.util.Optional<java.lang.Boolean> annotated with @Config(value=AsyncHttpClientConfigProvider.allowPoolingConnection)

Stack Overflow | user3427070 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Guice CreationException due to missing implementation for java.util.Optional

    Stack Overflow | 8 months ago | user3427070
    java.lang.RuntimeException: com.google.inject.CreationException: Guice creation errors: 1) No implementation for java.util.Optional<java.lang.Boolean> annotated with @Config(value=AsyncHttpClientConfigProvider.allowPoolingConnection) was bound. while locating java.util.Optional<java.lang.Boolean> annotated with @Config(value=AsyncHttpClientConfigProvider.allowPoolingConnection)

    Root Cause Analysis

    1. java.lang.RuntimeException

      com.google.inject.CreationException: Guice creation errors: 1) No implementation for java.util.Optional<java.lang.Boolean> annotated with @Config(value=AsyncHttpClientConfigProvider.allowPoolingConnection) was bound. while locating java.util.Optional<java.lang.Boolean> annotated with @Config(value=AsyncHttpClientConfigProvider.allowPoolingConnection)

      at AsyncHttpClientConfigProvider.allowPoolingConnection()
    2. Unknown
      Module.configure
      1. AsyncHttpClientConfigProvider.allowPoolingConnection(AsyncHttpClientConfigProvider.java:212)
      2. Module.configure(Module.java:24)
      2 frames