之前lombok,junit都是能加上的,swagger就加不上了。
提示:
Dependency 'com.spring4all:swagger-spring-boot-starter:1.9.1.RELEASE' not found
查mvnrepository.com,Spring Boot Starter Swagger是在central存储的,于是去central查了,https://repo.maven.apache.org/maven2/com/spring4all/swagger-spring-boot-starter/ 能找到对应的包,可是用以下代码添加依赖一直说找不到。
<dependency>
<groupId>com.spring4all</groupId>
<artifactId>swagger-spring-boot-starter</artifactId>
<version>1.9.1.RELEASE</version>
</dependency>