Skip to content

引用最新0.5.11版本后启动总是提示需要CuratorFramework #142

@DarkRayZhang

Description

@DarkRayZhang

Description:

Field beanFactory in org.bytesoft.bytetcc.TransactionManagerImpl required a bean of type 'org.apache.curator.framework.CuratorFramework' that could not be found.

The injection point has the following annotations:
- @javax.inject.Inject()

Action:

Consider defining a bean of type 'org.apache.curator.framework.CuratorFramework' in your configuration.

这个是报错信息,而我当前项目中并没有使用ZK,如果我想到使用一个自定义的类去继承的CuratorFrameworkImpl又报错循环引用。后续用空实现CuratorFramework的类去注册bean解决,项目使用的mysql,但是又报错
Correct the classpath of your application so that it contains a single, compatible version of com.mongodb.MongoClientSettings$Builder
请问下这个有没有比较好的解决方案,网上未找到合适的案例,谢谢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions