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

目前最新的版本不兼容spring boot 3.4.0 #874

Open
jasonjensenlyg opened this issue Dec 12, 2024 · 5 comments
Open

目前最新的版本不兼容spring boot 3.4.0 #874

jasonjensenlyg opened this issue Dec 12, 2024 · 5 comments

Comments

@jasonjensenlyg
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@DubheAlkaid
Copy link

#865 (comment)

@zxhans
Copy link

zxhans commented Dec 16, 2024

大家可以使用这个替代先 https://github.com/xingfudeshi/knife4j 暂时先用着,解决问题先

com.github.xingfudeshi
knife4j-openapi3-jakarta-spring-boot-starter
4.6.0

@98549844
Copy link

计划什么时候能解决和3.4不兼容问题 ?

@YunaiV
Copy link

YunaiV commented Dec 28, 2024

大家可以使用这个替代先 https://github.com/xingfudeshi/knife4j 暂时先用着,解决问题先

com.github.xingfudeshi
knife4j-openapi3-jakarta-spring-boot-starter
4.6.0

强!成功使用!

@Xiamu-ssr
Copy link

Xiamu-ssr commented Jan 3, 2025

主要是openapi和controllerAdvice的冲突,
springdoc-openapi v2.7.0在Nov 24, 2024宣布支持Springboot 3.4.0 。
更新日志如下
https://github.com/springdoc/springdoc-openapi/releases/tag/v2.7.0

在pom中如下使用,即可。

        <dependency>
            <groupId>com.github.xiaoymin</groupId>
            <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
            <version>4.5.0</version>
        </dependency>
        <dependency>
            <groupId>org.springdoc</groupId>
            <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
            <version>2.7.0</version>
        </dependency>

但是要关闭增强功能。

knife4j:
  enable: false

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

6 participants