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)

GitHub | lennartkoopmann | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Journal info command does not work

    GitHub | 7 months ago | lennartkoopmann
    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)

    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=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)

      at org.graylog2.shared.journal.KafkaJournalModule.configure()
    2. graylog2-shared
      KafkaJournalModule.configure
      1. org.graylog2.shared.journal.KafkaJournalModule.configure(KafkaJournalModule.java:25)
      1 frame