Comments (8)
Hi @kf53916 , your screenshot image URL is broken.
Please post a new image or just post the text logs.
from turms.
Description:
Parameter 1 of constructor in im.turms.service.storage.mongo.MongoCollectionInitializer required a single bean, but 5 were found:
- adminMongoClient: defined by method 'adminMongoClient' in class path resource [im/turms/service/storage/mongo/MongoConfig.class]
- userMongoClient: defined by method 'userMongoClient' in class path resource [im/turms/service/storage/mongo/MongoConfig.class]
- groupMongoClient: defined by method 'groupMongoClient' in class path resource [im/turms/service/storage/mongo/MongoConfig.class]
- conversationMongoClient: defined by method 'conversationMongoClient' in class path resource [im/turms/service/storage/mongo/MongoConfig.class]
- messageMongoClient: defined by method 'messageMongoClient' in class path resource [im/turms/service/storage/mongo/MongoConfig.class]
Action:
Consider marking one of the beans as @primary, updating the consumer to accept multiple beans, or using @qualifier to identify the bean that should be consumed
from turms.
We had many system tests passing without encountering this problem for years, and the code in MongoCollectionInitializer
is fine.
So it seems that you have changed the code of Turms servers or the version of dependencies, you can roll back your changes, or fix them in your local version.
If you are sure that you haven't changed the code, you can run git log -1
in Turms project and post the command output, so that I can know which commit you are running on and give it a try to ensure it's okay or not.
from turms.
After pulling the code again, it can start normally. Thank you!
Is there a communication group?
from turms.
There is no chat group for Turms, and we prefer GitHub issues because it can track all kinds of discussions and help others.
Feel free to ask questions if you don't find an answer for your questions in Turms documentation, and I check Turms issues almost every day.
from turms.
OK,Thank you!
from turms.
How to integrate the user system of existing applications?
from turms.
@kf53916 Please open a new issue if you have different questions.
And please be patient to take the time to read and search in Turms documentation. If you don't find an answer in Turms documentation, you can open a new issue to ask.
For you question,
English: https://turms-im.github.io/docs/server/module/identity-access-management.html
Chinese: https://turms-im.github.io/docs/zh-CN/server/module/identity-access-management.html
from turms.
Related Issues (20)
- 怎么拓展业务信息,如群组标签等等 HOT 7
- Support getting the trace ID for admin APIs from the user-defined HTTP header
- TurmsMapCodec valueCodec ? HOT 2
- Message Reaction HOT 3
- recallMessage()没有更新旧消息的RECALL_DATE HOT 2
- messageService.queryMessagesWithTotal 疑问 HOT 4
- admin 消息查询无数据显示 HOT 2
- MessageService.queryMessagesWithTotal批量获取消息总数时,只返回了一个 HOT 3
- 关于private-conversation的sequenceId的疑问 HOT 2
- 多端登录如何生效? HOT 2
- Provide a local test environement preset HOT 1
- Translate exception caused by Jackson when deserializing requests to provide more informational and friendly error messages in admin APIs
- Support storing and querying the IPv6 address of the message sender
- updateStatusIfPending 会设置responseDate字段的值到mongo吗? HOT 1
- Distinguish login name, display name, and user ID of admin users in admin APIs and entities to make code clear and not confuse admin users HOT 1
- Unify the metric names to follow the same naming convention
- 关于如何发送自定义的通知内容 HOT 2
- 多端登录配置
- Redis可视化 HOT 1
- CollectionUtil.isImmutable(Iterable<?> iterable) 不可变判断 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turms.