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=elasticsearch_index_prefix) was bound. while locating java.lang.String annotated with @com.google.inject.name.Named(value=elasticsearch_index_prefix) for the 2nd parameter of org.graylog2.indexer.Deflector.<init>(Deflector.java:76) while locating org.graylog2.indexer.Deflector for the 2nd parameter of org.graylog2.indexer.searches.Searches.<init>(Searches.java:155) while locating org.graylog2.indexer.searches.Searches for the 1st parameter of org.graylog.plugins.map.search.MapDataSearch.<init>(MapDataSearch.java:38) while locating org.graylog.plugins.map.search.MapDataSearch for the 1st parameter of org.graylog.plugins.map.rest.MapDataResource.<init>(MapDataResource.java:56) at org.graylog2.plugin.PluginModule.addRestResource(PluginModule.java:100) (via modules: org.graylog2.shared.bindings.PluginBindings -> org.graylog.plugins.map.MapWidgetModule) 2) No implementation for java.util.Set<org.graylog2.plugin.ServerStatus$Capability> was bound. while locating java.util.Set<org.graylog2.plugin.ServerStatus$Capability> for the 2nd parameter of org.graylog2.plugin.ServerStatus.<init>(ServerStatus.java:64) while locating org.graylog2.plugin.ServerStatus for the 11th parameter of org.graylog2.shared.journal.KafkaJournal.<init>(KafkaJournal.java:167)

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by lennartkoopmann
, 1 year ago
Unable to create injector, see the following errors: 1) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=elasticsearch_index_prefix) was bound. while locating java.lang.String annotated with
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=elasticsearch_index_prefix) was bound. while locating java.lang.String annotated with @com.google.inject.name.Named(value=elasticsearch_index_prefix) for the 2nd parameter of org.graylog2.indexer.Deflector.<init>(Deflector.java:76) while locating org.graylog2.indexer.Deflector for the 2nd parameter of org.graylog2.indexer.searches.Searches.<init>(Searches.java:155) while locating org.graylog2.indexer.searches.Searches for the 1st parameter of org.graylog.plugins.map.search.MapDataSearch.<init>(MapDataSearch.java:38) while locating org.graylog.plugins.map.search.MapDataSearch for the 1st parameter of org.graylog.plugins.map.rest.MapDataResource.<init>(MapDataResource.java:56) at org.graylog2.plugin.PluginModule.addRestResource(PluginModule.java:100) (via modules: org.graylog2.shared.bindings.PluginBindings -> org.graylog.plugins.map.MapWidgetModule) 2) No implementation for java.util.Set<org.graylog2.plugin.ServerStatus$Capability> was bound. while locating java.util.Set<org.graylog2.plugin.ServerStatus$Capability> for the 2nd parameter of org.graylog2.plugin.ServerStatus.<init>(ServerStatus.java:64) while locating org.graylog2.plugin.ServerStatus for the 11th parameter of org.graylog2.shared.journal.KafkaJournal.<init>(KafkaJournal.java:167)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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