knife4j icon indicating copy to clipboard operation
knife4j copied to clipboard

springboot 3.4.1 与knife4j 4.5.0整合启动报错 参考https://www.jb51.net/program/334114cuw.htm

Open zjarlin opened this issue 11 months ago • 3 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Knife4j Version (please complete the following information):

Additional context Add any other context about the problem here.

zjarlin avatar Jan 20 '25 04:01 zjarlin

<dependency>
            <groupId>com.github.xingfudeshi</groupId>
            <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
            <version>4.6.0</version>
 </dependency>

可以先用这个

xingfudeshi avatar Jan 23 '25 09:01 xingfudeshi

SpringBoot Version 3.4.0,使用Knife4j 4.5.0,将配置文件中增强配置改为false,并将springdoc.version升级至2.8.6后即可

Image

Image

Image

Loren1999 avatar Mar 27 '25 07:03 Loren1999