java.lang.RuntimeException

Failed to save resource '{repo1:javax/j2ee/j2ee/1.4/j2ee-1.4.pom}'.

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web10

  • via Unknown by Thibaut Fagart,
  • via Unknown by Thibaut Fagart,
  • via Unknown by Reinhard Naegele,
  • Stack trace

    • java.lang.RuntimeException: Failed to save resource '{repo1:javax/j2ee/j2ee/1.4/j2ee-1.4.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:javax/j2ee/j2ee/1.4/j2ee-1.4.pom}': The target deployment path 'javax/j2ee/j2ee/1.4/j2ee-1.4.pom' does not match the POM's e xpected path prefix 'javax/j2ee/1.4' (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 'j avax/j2ee/j2ee/1.4/j2ee-1.4.pom' does not match the POM's expected path prefix 'javax/j2ee/1.4' (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 'javax/j2ee/j2ee/1.4/j2ee-1.4.pom' does not match the POM's expected path prefix 'javax/j2ee/1.4' (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

    We couldn't find other users who have seen this exception.