com.google.inject.CreationException

Unable to create injector, see the following errors: 1) A binding to java.lang.String annotated with @com.google.inject.name.Named(value=api.endpoint) was already configured at com.codenvy.ext.java.server.MachineModule.configure(MachineModule.java:110). at org.eclipse.che.inject.CheBootstrap$AbstractConfigurationModule.bindProperty(CheBootstrap.java:373) (via modules: com.google.inject.util.Modules$OverrideModule -> org.eclipse.che.inject.CheBootstrap$CheEnvironmentVariablesConfigurationModule) 1 error

Solutions on the web379

  • via GitHub by andrew00x
    , 11 months ago
    Unable to create injector, see the following errors: 1) A binding to java.lang.String annotated with @com.google.inject.name.Named(value=api.endpoint) was already configured at com.codenvy.ext.java.server.MachineModule.configure(MachineModule.java
  • via GitHub by mkuznyetsov
    , 11 months ago
    Unable to create injector, see the following errors: 1) A binding to java.lang.String annotated with @com.google.inject.name.Named(value=api.endpoint) was already configured at com.codenvy.ext.java.server.MachineModule.configure(MachineModule.java
  • via GitHub by mkuznyetsov
    , 11 months ago
    Unable to create injector, see the following errors: 1) A binding to java.lang.String annotated with @com.google.inject.name.Named(value=api.endpoint) was already configured at com.codenvy.ext.java.server.MachineModule.configure(MachineModule.java
  • Stack trace

    • com.google.inject.CreationException: Unable to create injector, see the following errors: 1) A binding to java.lang.String annotated with @com.google.inject.name.Named(value=api.endpoint) was already configured at com.codenvy.ext.java.server.MachineModule.configure(MachineModule.java:110). at org.eclipse.che.inject.CheBootstrap$AbstractConfigurationModule.bindProperty(CheBootstrap.java:373) (via modules: com.google.inject.util.Modules$OverrideModule -> org.eclipse.che.inject.CheBootstrap$CheEnvironmentVariablesConfigurationModule) 1 error at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470)[guice-4.1.0.jar:na] at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155)[guice-4.1.0.jar:na] at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)[guice-4.1.0.jar:na] at com.google.inject.Guice.createInjector(Guice.java:99)[guice-4.1.0.jar:na] at org.everrest.guice.servlet.EverrestGuiceContextListener.getInjector(EverrestGuiceContextListener.java:140)[everrest-integration-guice-1.13.1.jar:na] at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)[guice-servlet-4.1.0.jar:na] at org.everrest.guice.servlet.EverrestGuiceContextListener.contextInitialized(EverrestGuiceContextListener.java:85)[everrest-integration-guice-1.13.1.jar:na] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)[catalina.jar:8.0.32] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)[catalina.jar:8.0.32] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)[catalina.jar:8.0.32] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)[catalina.jar:8.0.32] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)[catalina.jar:8.0.32] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)[catalina.jar:8.0.32] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:939)[catalina.jar:8.0.32] at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1812)[catalina.jar:8.0.32] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_45] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_45]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    6 times, 3 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    1 more bugmates