spring3 springfox报错Type javax.servlet.http.HttpServletRequest not present
相信一切,失望有日;怀疑一切,收获天明。——乔·赫伯特
就像这个issue里描述的一样:
https://github.com/springfox/springfox/issues/4061
在springboot3.0引入:
1 | <dependency> |
引入完毕后发现启动报错。。。于是查询了下

最后一次更新是三年前。。。
https://central.sonatype.com/artifact/io.springfox/springfox-boot-starter/versions

相对的springboot3是去年出的
https://central.sonatype.com/artifact/org.springframework.boot/spring-boot/versions

那咱们应该怎么集成swagger呢?用:
1 | <dependency> |

