You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
I get the same error in the java-jersey2 project. Workaround, was the same as pingsutw, by changing the dependency in the root level pom.xml to not include SNAPSHOT.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After run
mvn package -Dlog4j.configuration=file:./conf/log4j.properties jetty:run
I got following error
If I change
swagger-version
from 1.5.22-SNAPSHOT to 1.5.22, it works well.The text was updated successfully, but these errors were encountered: