No implementation for Map<SearchVersion, Provider<MoreSearchAdapter>> was bound

Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.

  1. Describe your incident:
    what I am doing now is to pull the source code from the remote warehouse, first run mvn compile, then modify the address of configFile under CmdLineTool.java, map it to the file of server.conf, and configure mongodb in server.conf address and elasticsearch address, and finally encountered the problem of “No implementation for Map<SearchVersion, Provider> was bound”,the server’s log is as follows:
    2023-08-29 15:59:52,092 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog.events.search.MoreSearchAdapter>> was bound.
    2023-08-29 15:59:52,093 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog.plugins.views.migrations.V20200730000000_AddGl2MessageIdFieldAliasForEvents$ElasticsearchAdapter>> was bound.
    2023-08-29 15:59:52,093 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog.plugins.views.search.engine.QueryBackend<? extends org.graylog.plugins.views.search.engine.GeneratedQueryContext>>> was bound.
    2023-08-29 15:59:52,094 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog.plugins.views.search.engine.QuerySuggestionsService>> was bound.
    2023-08-29 15:59:52,094 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog.plugins.views.search.export.ExportBackend>> was bound.
    2023-08-29 15:59:52,095 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.IndexToolsAdapter>> was bound.
    2023-08-29 15:59:52,095 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.cluster.ClusterAdapter>> was bound.
    2023-08-29 15:59:52,096 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.cluster.NodeAdapter>> was bound.
    2023-08-29 15:59:52,096 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.counts.CountsAdapter>> was bound.
    2023-08-29 15:59:52,096 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.fieldtypes.IndexFieldTypePollerAdapter>> was bound.
    2023-08-29 15:59:52,097 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.fieldtypes.streamfiltered.esadapters.StreamsForFieldRetriever>> was bound.
    2023-08-29 15:59:52,097 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.indices.IndicesAdapter>> was bound.
    2023-08-29 15:59:52,097 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.messages.MessagesAdapter>> was bound.
    2023-08-29 15:59:52,099 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.results.MultiChunkResultRetriever>> was bound.
    2023-08-29 15:59:52,099 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.searches.SearchesAdapter>> was bound.
    2023-08-29 15:59:52,099 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.migrations.V20170607164210_MigrateReopenedIndicesToAliases$ClusterState>> was bound.
    2023-08-29 15:59:52,100 ERROR: org.graylog2.bootstrap.CmdLineTool - Startup error:
    com.google.inject.CreationException: Unable to create injector, see the following errors:

  2. [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider> was bound.

Did you mean?
MoreSearchAdapter bound at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:60)

  1. Describe your environment:
    OS Information:window11

Package Version:5.1

  1. What steps have you already taken to try and solve the problem?
    Haven’t found a solution yet

Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]

Can you clarify what your expected outcome is? Or rather why you need to compile from source?

@guangtian I see your OS version is windows 11. Are you trying to install on a Windows machine? Graylog does not support any Windows platform, unless as a host for a virtual environment.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.