java.lang.IllegalArgumentException: Not a valid maven unique snapshot version: deploy-war-1.0-SNAPSHOT.war

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Tal Abramson, 1 year ago
Not a valid maven unique snapshot version: deploy-war-1.0-SNAPSHOT.war
via JFrog JIRA by Tal Abramson, 1 year ago
Not a valid maven unique snapshot version: deploy-war-1.0-SNAPSHOT.war
java.lang.IllegalArgumentException: Not a valid maven unique snapshot version: deploy-war-1.0-SNAPSHOT.war
at org.artifactory.api.maven.MavenNaming.getUniqueSnapshotVersionBuildNumber(MavenNaming.java:221)
at org.artifactory.engine.UploadServiceImpl.getSnapshotFile(UploadServiceImpl.java:356)
at org.artifactory.engine.UploadServiceImpl.getSnapshotFile(UploadServiceImpl.java:330)
at org.artifactory.engine.UploadServiceImpl.getSnapshotTimestamp(UploadServiceImpl.java:311)
at org.artifactory.engine.UploadServiceImpl.adjustNonUniqueSnapshotToUnique(UploadServiceImpl.java:222)
at org.artifactory.engine.UploadServiceImpl.adjustSnapshotPath(UploadServiceImpl.java:178)
at org.artifactory.engine.UploadServiceImpl.doProcess(UploadServiceImpl.java:128)
at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at undefined.$Proxy45.doProcess(Unknown Source)
at org.artifactory.engine.UploadServiceImpl.process(UploadServiceImpl.java:105)
at sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at undefined.$Proxy45.process(Unknown Source)
at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:121)
at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:190)
at org.artifactory.webapp.servlet.AccessFilter.useAnonymousIfPossible(AccessFilter.java:178)
at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:118)
at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.