@EnableKnife4j // 失败
引入以下包就可以正常
<dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>knife4j-spring-boot-autoconfigure</artifactId> <version>3.0.2</version></dependency>