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 | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

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