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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mkuznyetsov
, 1 year 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 andrew00x
, 1 year 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
, 1 year 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 com.br by Unknown author, 2 years ago
(GuiceComponentRegistry.java:141)<|<|3) An exception was caught and reported. Message: access denied ("java.lang.RuntimePermission" "getClassLoader")<| at com.google.inject.util.Modules$RealOverriddenModuleBuilder$1.configure(Modules.java:172)<|<|3 errors
via Stack Overflow by Shafique Jamal
, 1 year ago
Unable to create injector, see the following errors: 1) A binding to play.api.libs.ws.WSAPI was already configured at play.api.libs.ws.ahc.AhcWSModule.bindings(AhcWS.scala:371): Binding(interface play.api.libs.ws.WSAPI to ConstructionTarget(class
via Stack Overflow by user2980640
, 2 years ago
Guice creation errors:</p> <p>1) Error: Constraint violation with property prefix '': environment is malformed (for class io.airlift.node.NodeConfig) at io.airlift.node.NodeModule.configure(NodeModule.java:34)</p> <p>1 error
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)
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
at org.everrest.guice.servlet.EverrestGuiceContextListener.getInjector(EverrestGuiceContextListener.java:140)
at org.everrest.guice.servlet.EverrestGuiceContextListener.contextInitialized(EverrestGuiceContextListener.java:85)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:939)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.