java.lang.RuntimeException

Failed to save resource '{repo1:ch/qos/logback/logback-classic/0.9.8/logback-classic-0.9.8.pom}'.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web39981

  • via JFrog JIRA by Reinhard Naegele, 1 year ago
    Failed to save resource '{repo1:ch/qos/logback/logback-classic/0.9.8/logback-classic-0.9.8.pom}'.
  • via JFrog JIRA by Reinhard Naegele, 10 months ago
    Failed to save resource '{repo1:ch/qos/logback/logback-classic/0.9.8/logback-classic-0.9.8.pom}'.
  • deduplicate: different file contents found in the following: /Users/aris.vlasakakis/.ivy2/cache/ch.qos.logback/logback-classic/jars/logback-classic-1.1.2.jar:org/slf4j/impl/StaticLoggerBinder.class /Users/aris.vlasakakis/.ivy2/cache/org.slf4j/slf4j
  • Stack trace

    • java.lang.RuntimeException: Failed to save resource '{repo1:ch/qos/logback/logback-classic/0.9.8/logback-classic-0.9.8.pom}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:407) at org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:268) at org.artifactory.engine.DownloadEngine.respond(DownloadEngine.java:438) at org.artifactory.engine.DownloadEngine.processStandard(DownloadEngine.java:192) at org.artifactory.engine.DownloadEngine.process(DownloadEngine.java:101) at org.artifactory.webapp.servlet.RepoFilter.handleDownloadRequest(RepoFilter.java:116) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:72) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:81) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:190) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:360) ... 27 more Caused by: javax.jcr.RepositoryException: Failed to import resource '{repo1:ch/qos/logback/logback-classic/0.9.8/logback-classic-0.9.8.pom}': The target deployment path 'ch/qos/logback/logback-classic/0.9.8/logback-classic-0.9.8.pom' does not match the POM's expected path prefix 'ch/qos/logback/logback-classic/${parent.version}' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually.: The target deployment path 'ch/qos/logback/logback-classic/0.9.8/logback-classic-0.9.8.pom' does not match the POM's expected path prefix 'ch/qos/logback/logback-classic/${parent.version}' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:383) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:362) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:186) ... 28 more Caused by: javax.jcr.RepositoryException: The target deployment path 'ch/qos/logback/logback-classic/0.9.8/logback-classic-0.9.8.pom' does not match the POM's expected path prefix 'ch/qos/logback/logback-classic/${parent.version}' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.maven.MavenUtils.validatePomTargetPath(MavenUtils.java:145) at org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:362) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:374) ... 30 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.