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 | 9 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

    Journal info command does not work

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