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

修正druid-spring-boot-3-starter错误,并增加自动配置的适配文件 #5437 #5443

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

lizongbo
Copy link
Collaborator

@lizongbo lizongbo commented Sep 15, 2023

修正druid-spring-boot-3-starter错误: 删除不应该放在main目录下的配置文件
并增加自动配置的适配文件:增加适配SpringBoot3的自动配置声明文件
springboot 3 已经废除 spring.factories。
需要类路径下创建META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports文件,文件的内容是:每个实现类的全类名单独一行

关联到 #5437

删除不应该放在main目录下的配置文件
增加适配SpringBoot3的自动配置声明文件
@lizongbo lizongbo changed the title 修正druid-spring-boot-3-starter错误,并增加自动配置的适配文件 修正druid-spring-boot-3-starter错误,并增加自动配置的适配文件 #5437 Sep 15, 2023
@lizongbo lizongbo changed the title 修正druid-spring-boot-3-starter错误,并增加自动配置的适配文件 #5437 修正druid-spring-boot-3-starter错误,并增加自动配置的适配文件 #5437 Sep 15, 2023
@lizongbo
Copy link
Collaborator Author

修复问题 关联到 #5437

@wenshao wenshao merged commit 568d12a into alibaba:master Sep 18, 2023
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

Successfully merging this pull request may close these issues.

2 participants