This repository has been archived by the owner on Oct 30, 2023. It is now read-only.
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.
swagger-samples/java/java-jersey-jaxrs Build error #198
Open
Description
After run mvn package -Dlog4j.configuration=file:./conf/log4j.properties jetty:run
I got following error
[INFO] Total time: 0.309 s
[INFO] Finished at: 2020-04-29T20:10:43+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project swagger-java-jersey-sample-app: Could not resolve dependencies for project io.swagger:swagger-java-jersey-sample-app:war:1.0.0: Failure to find io.swagger:swagger-jersey-jaxrs:jar:1.5.22-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
If I change swagger-version
from 1.5.22-SNAPSHOT to 1.5.22, it works well.
Metadata
Assignees
Labels
No labels