java.lang.RuntimeException

Could not resolve project dependencies

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 web716

Stack trace

  • java.lang.RuntimeException: Could not resolve project dependencies at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.RuntimeException: Could not resolve project dependencies at org.eclipse.tycho.p2.resolver.P2DependencyResolver.collectPomDependencies(P2DependencyResolver.java:274) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:197) at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:99) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 11 more Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information for org.scala-lang:scala-library:jar:2.10.5-SNAPSHOT: Failed to retrieve POM for org.scala-lang:scala-library:jar:2.10.5-SNAPSHOT: Could not transfer artifact org.scala-lang:scala-library:pom:2.10.5-SNAPSHOT from/to typesafe-ide-Select a Scala profile (http://private-repo.typesafe.com/typesafe/ide-Select a Scala profile): Illegal character in path at index 52: http://private-repo.typesafe.com/typesafe/ide-Select a Scala profile/org/scala-lang/scala-library/2.10.5-SNAPSHOT/scala-library-2.10.5-SNAPSHOT.pom org.scala-lang:scala-library:jar:2.10.5-SNAPSHOT from the specified remote repositories: sonatype.release (https://oss.sonatype.org/content/repositories/releases/, releases=true, snapshots=false), sonatype.snapshot (https://oss.sonatype.org/content/repositories/snapshots, releases=true, snapshots=true), central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false), typesafe-ide-Select a Scala profile (http://private-repo.typesafe.com/typesafe/ide-Select a Scala profile, releases=true, snapshots=true) Path to dependency: 1) org.scala-ide:org.scala-ide.scala211.feature:pom:4.1.0-SNAPSHOT 2) org.scala-ide:org.scala-ide.scala210.jars:jar:4.1.0-SNAPSHOT at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse(DefaultLegacyArtifactCollector.java:576) at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse(DefaultLegacyArtifactCollector.java:584) at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect(DefaultLegacyArtifactCollector.java:144) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:464) at org.apache.maven.repository.legacy.LegacyRepositorySystem.resolve(LegacyRepositorySystem.java:352) at org.apache.maven.DefaultProjectDependenciesResolver.resolveImpl(DefaultProjectDependenciesResolver.java:158) at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:75) at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:59) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.collectPomDependencies(P2DependencyResolver.java:255) ... 16 more Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Failed to retrieve POM for org.scala-lang:scala-library:jar:2.10.5-SNAPSHOT: Could not transfer artifact org.scala-lang:scala-library:pom:2.10.5-SNAPSHOT from/to typesafe-ide-Select a Scala profile (http://private-repo.typesafe.com/typesafe/ide-Select a Scala profile): Illegal character in path at index 52: http://private-repo.typesafe.com/typesafe/ide-Select a Scala profile/org/scala-lang/scala-library/2.10.5-SNAPSHOT/scala-library-2.10.5-SNAPSHOT.pom at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:600) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:192) at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse(DefaultLegacyArtifactCollector.java:532) ... 24 more Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.scala-lang:scala-library:pom:2.10.5-SNAPSHOT from/to typesafe-ide-Select a Scala profile (http://private-repo.typesafe.com/typesafe/ide-Select a Scala profile): Illegal character in path at index 52: http://private-repo.typesafe.com/typesafe/ide-Select a Scala profile/org/scala-lang/scala-library/2.10.5-SNAPSHOT/scala-library-2.10.5-SNAPSHOT.pom at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:285) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:267) at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:579) ... 26 more Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact org.scala-lang:scala-library:pom:2.10.5-SNAPSHOT from/to typesafe-ide-Select a Scala profile (http://private-repo.typesafe.com/typesafe/ide-Select a Scala profile): Illegal character in path at index 52: http://private-repo.typesafe.com/typesafe/ide-Select a Scala profile/org/scala-lang/scala-library/2.10.5-SNAPSHOT/scala-library-2.10.5-SNAPSHOT.pom at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:939) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669) at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 52: http://private-repo.typesafe.com/typesafe/ide-Select a Scala profile/org/scala-lang/scala-library/2.10.5-SNAPSHOT/scala-library-2.10.5-SNAPSHOT.pom at java.net.URI.create(URI.java:852) at org.apache.maven.wagon.providers.http.httpclient.client.methods.HttpGet.<init>(HttpGet.java:69) at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:871) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601) ... 4 more Caused by: java.net.URISyntaxException: Illegal character in path at index 52: http://private-repo.typesafe.com/typesafe/ide-Select a Scala profile/org/scala-lang/scala-library/2.10.5-SNAPSHOT/scala-library-2.10.5-SNAPSHOT.pom at java.net.URI$Parser.fail(URI.java:2848) at java.net.URI$Parser.checkChars(URI.java:3021) at java.net.URI$Parser.parseHierarchical(URI.java:3105) at java.net.URI$Parser.parse(URI.java:3053) at java.net.URI.<init>(URI.java:588) at java.net.URI.create(URI.java:850) ... 10 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

richard77richard77
Once,
r1chjamesr1chjames
3 times, last one
sriharshakiransriharshakiran
Once,
poroszdporoszd
Once,
Unknown visitor
Unknown visitorOnce,
52 more bugmates