The spring-boot-2-rest-service-with-swagger has a dependency error in pom.xml, where several IDE report of missing artifact io.springfox:springfox-boot-starter:jar:3.0.0-SNAPSHOT, and the project cannot not be built. The exact error on running mvn clean compile is:
[ERROR] Failed to execute goal on project spring-boot-2-rest-service-swagger: Could not resolve dependencies for project com.in28minutes.springboot.rest.example:spring-boot-2-rest-service-swagger:jar:0.0.1-SNAPSHOT: Failure to find io.springfox:springfox-boot-starter:jar:3.0.0-SNAPSHOT in https://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced
The maven repository for springfox-boot-starter, shows the latest version to be 3.0.0. Using this version in the pom.xml file resolves the error and the build completes successfully.
The
spring-boot-2-rest-service-with-swagger
has a dependency error inpom.xml
, where several IDE report of missing artifactio.springfox:springfox-boot-starter:jar:3.0.0-SNAPSHOT
, and the project cannot not be built. The exact error on runningmvn clean compile
is:The maven repository for springfox-boot-starter, shows the latest version to be
3.0.0
. Using this version in thepom.xml
file resolves the error and the build completes successfully.