Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field properties in com.tencent.devops.leaf.plugin.LeafSpringBootStarterAutoConfigure required a single bean, but 2 were found #214

Open
yangxu880715 opened this issue Dec 25, 2023 · 1 comment

Comments

@yangxu880715
Copy link

image

为什么我启动springboot报了这个错。我只引入了一个leaf-boot-start的依赖

Field properties in com.tencent.devops.leaf.plugin.LeafSpringBootStarterAutoConfigure required a single bean, but 2 were found:
- leafSpringBootProperties: defined in URL [jar:file:/C:/repository/com/tencent/devops/leaf/leaf-boot-starter/1.0.2-RELEASE/leaf-boot-starter-1.0.2-RELEASE.jar!/com/tencent/devops/leaf/plugin/LeafSpringBootProperties.class]
- leaf-com.tencent.devops.leaf.plugin.LeafSpringBootProperties: defined in unknown location。

@shichaowei
Copy link

image 为什么我启动springboot报了这个错。我只引入了一个leaf-boot-start的依赖

Field properties in com.tencent.devops.leaf.plugin.LeafSpringBootStarterAutoConfigure required a single bean, but 2 were found: - leafSpringBootProperties: defined in URL [jar:file:/C:/repository/com/tencent/devops/leaf/leaf-boot-starter/1.0.2-RELEASE/leaf-boot-starter-1.0.2-RELEASE.jar!/com/tencent/devops/leaf/plugin/LeafSpringBootProperties.class] - leaf-com.tencent.devops.leaf.plugin.LeafSpringBootProperties: defined in unknown location。

大佬 找到原因了吗?碰到了一样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants