java.lang.RuntimeException

Failed to save resource '{prefix-repo-dev-snapshot:com/company/mobile/dp/prefix-dp-model/1.0.0-RC7-SNAPSHOT/prefix-dp-model-1.0.0-RC7-20070712.162529-1.pom}'.

Samebug tips0

There are no available Samebug tips.

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

Solutions on the web10

  • via by Peter Lynch,
  • via by Peter Lynch,
  • Stack trace

    • java.lang.RuntimeException: Failed to save resource '{prefix-repo-dev-snapshot:com/company/mobile/dp/prefix-dp-model/1.0.0-RC7-SNAPSHOT/prefix-dp-model-1.0.0-RC7-20070712.162529-1.pom}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:370) at org.artifactory.engine.UploadEngine.process(UploadEngine.java:158) at org.artifactory.webapp.servlet.RepoFilter.handleUploadRequest(RepoFilter.java:106) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:75) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:72) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) 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:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368) 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:186) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:331) ... 25 more Caused by: javax.jcr.RepositoryException: Failed to import resource '{prefix-repo-dev-snapshot:com/company/mobile/dp/prefix-dp-model/1.0.0-RC7-SNAPSHOT/prefix-dp-model-1.0.0-RC7-20070712.162529-1.pom}'.: The target deployment path 'com/company/mobile/dp/prefix-dp-model/1.0.0-RC7-SNAPSHOT/prefix-dp-model-1.0.0-RC7-20070712.162529-1.pom' does not match the POM's expected path prefix 'com/company/mobile/dp/prefix-dp-model
    • ull' (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 'com/company/mobile/dp/prefix-dp-model/1.0.0-RC7-SNAPSHOT/prefix-dp-model-1.0.0-RC7-20070712.162529-1.pom' does not match the POM's expected path prefix 'com/company/mobile/dp/prefix-dp-model
    • ull' (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:354) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:331) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:182) ... 26 more Caused by: javax.jcr.RepositoryException: The target deployment path 'com/company/mobile/dp/prefix-dp-model/1.0.0-RC7-SNAPSHOT/prefix-dp-model-1.0.0-RC7-20070712.162529-1.pom' does not match the POM's expected path prefix 'com/company/mobile/dp/prefix-dp-model
    • ull' (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:117) at org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:326) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:345) ... 28 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.

    No Bugmate found.