com.google.inject.CreationException: Unable to create injector, see the following errors: 1) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=important.variable) was bound. while locating java.lang.String annotated with @com.google.inject.name.Named(value=important.variable) for field at com.mycompany.che.plugins.MyExtensionService.importantVariable(MyExtensionService.java:26)

GitHub | mariosotil | 7 months 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

    Values from che.properties are not injected to Workspace, using Eclipse Che 4.7.2

    GitHub | 7 months ago | mariosotil
    com.google.inject.CreationException: Unable to create injector, see the following errors: 1) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=important.variable) was bound. while locating java.lang.String annotated with @com.google.inject.name.Named(value=important.variable) for field at com.mycompany.che.plugins.MyExtensionService.importantVariable(MyExtensionService.java:26)

    Root Cause Analysis

    1. com.google.inject.CreationException

      Unable to create injector, see the following errors: 1) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=important.variable) was bound. while locating java.lang.String annotated with @com.google.inject.name.Named(value=important.variable) for field at com.mycompany.che.plugins.MyExtensionService.importantVariable(MyExtensionService.java:26)

      at com.mycompany.che.plugins.MyExtensionGuiceModule.configure()
    2. com.mycompany.che
      MyExtensionGuiceModule.configure
      1. com.mycompany.che.plugins.MyExtensionGuiceModule.configure(MyExtensionGuiceModule.java:13)
      1 frame