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 | 6 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

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

    GitHub | 6 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