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.
-
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: -
[Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider> was bound.
Did you mean?
MoreSearchAdapter bound at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:60)
- Describe your environment:
OS Information:window11
Package Version:5.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]