Giter Club home page Giter Club logo

Comments (8)

JamesChenX avatar JamesChenX commented on July 2, 2024

Hi @kf53916 , your screenshot image URL is broken.
Please post a new image or just post the text logs.

from turms.

kf53916 avatar kf53916 commented on July 2, 2024

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.

JamesChenX avatar JamesChenX commented on July 2, 2024

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.

kf53916 avatar kf53916 commented on July 2, 2024

After pulling the code again, it can start normally. Thank you!
Is there a communication group?

from turms.

JamesChenX avatar JamesChenX commented on July 2, 2024

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.

kf53916 avatar kf53916 commented on July 2, 2024

OK,Thank you!

from turms.

kf53916 avatar kf53916 commented on July 2, 2024

How to integrate the user system of existing applications?

from turms.

JamesChenX avatar JamesChenX commented on July 2, 2024

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.